Commit: 17cdf0a9b3cb2e721b81ee129456eaf9d548704f Author: Hannes Magnusson <[email protected]> Mon, 10 Feb 2014 12:57:07 -0800 Parents: 24fe41242b79f9ba428c7a8811726caa19e25623 Branches: master
Link: http://git.php.net/?p=web/people.git;a=commitdiff;h=17cdf0a9b3cb2e721b81ee129456eaf9d548704f Log: ACtually set the variable for the cache to work Changed paths: M js/userlisting.php Diff: diff --git a/js/userlisting.php b/js/userlisting.php index 8ac0630..5fef03f 100644 --- a/js/userlisting.php +++ b/js/userlisting.php @@ -22,6 +22,7 @@ function getAllUsers() { return $json; } +$now = $_SERVER["REQUEST_TIME"]; if (isset($_SERVER["HTTP_IF_MODIFIED_SINCE"])) { $last = strtotime($_SERVER["HTTP_IF_MODIFIED_SINCE"]); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
