cron.php
changeset 672 08a7875258b4
parent 542 5841df0ab575
child 685 17ebe24cdf85
equal deleted inserted replaced
671:267c9f93b51f 672:08a7875258b4
    43 }
    43 }
    44 
    44 
    45 $expiry_date = date('r', get_cron_next_run());
    45 $expiry_date = date('r', get_cron_next_run());
    46 
    46 
    47 $etag = sha1($expiry_date);
    47 $etag = sha1($expiry_date);
    48   
    48 
    49 if ( isset($_SERVER['HTTP_IF_NONE_MATCH']) )
    49 if ( isset($_SERVER['HTTP_IF_NONE_MATCH']) )
    50 {
    50 {
    51   if ( "\"$etag\"" == $_SERVER['HTTP_IF_NONE_MATCH'] )
    51   if ( "\"$etag\"" == $_SERVER['HTTP_IF_NONE_MATCH'] )
    52   {
    52   {
    53     header('HTTP/1.1 304 Not Modified');
    53     header('HTTP/1.1 304 Not Modified');