diff --git a/customcss.php b/customcss.php index c1ac37763..ed0b800ea 100644 --- a/customcss.php +++ b/customcss.php @@ -18,7 +18,7 @@ $timenow = time(); $expiration = ($lastmodified ? $lastmodified : $timenow) + 3600; header('Expires: ' . gmdate('D, d M Y H:i:s T', $expiration)); -if ($lastmodified && (($timenow - $lastmodified) < 3600)) { +if (empty($_REQUEST['invalidate']) && ($expiration < $timenow)) { // Don't check for modifications more than once an hour. readfile($cssfile); die();