diff options
author | Thomas BrĂ¼derli | 2007-09-12 13:03:25 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2007-09-12 13:03:25 +0000 |
commit | 6f69216ebdf692abf88a25b586f5901c8ab725cb (patch) | |
tree | 7f59b322dc9ace41c52ca35893eec5f36bc3e91d | |
parent | d0f0a83110b1272dcfeaf0c77222da07acd0d540 (diff) | |
download | itools-6f69216ebdf692abf88a25b586f5901c8ab725cb.tar.gz itools-6f69216ebdf692abf88a25b586f5901c8ab725cb.tar.bz2 itools-6f69216ebdf692abf88a25b586f5901c8ab725cb.zip |
Don't send max-age header for Opera browsers
-rw-r--r-- | itjs.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,7 +40,8 @@ else if (!ereg('\.html$', $file)) if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH']) { - header("Cache-Control: max-age=900"); + if (!preg_match('/Opera/', $_SERVER['HTTP_USER_AGENT'])) + header("Cache-Control: max-age=900"); if ($_REQUEST['boot']) $data .= "window.it_boot_init();"; |