Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 679ee8450e
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (7 sloc) 0.352 kb
<?php
$maxwidth = isset($_GET['maxwidth']) ? intval($_GET['maxwidth']) : null;
if(null === $maxwidth || $maxwidth === "unknown") { $maxwidth = 3000; } // we need a number, so give it something unfeasable
setcookie('resolution',$maxwidth,time()+604800,'/'); // set the cookie
// respond with an empty content
header('HTTP/1.1 204 No Content');
exit();
Jump to Line
Something went wrong with that request. Please try again.