OLD | NEW |
---|---|
(Empty) | |
1 <?php | |
2 if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE'])) { | |
3 header('HTTP/1.0 304 Not Modified'); | |
4 exit; | |
5 } | |
6 header('Access-Control-Allow-Origin: *'); | |
7 header('Last-Modified: ' . gmdate("D, d M Y H:i:s", filemtime("conditional-cors. php")) . " GMT"); | |
8 header('Content-Type: application/javascript'); | |
9 echo '2;' | |
10 ?> | |
OLD | NEW |