summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorChristian Schneider2014-09-24 15:55:17 +0200
committerChristian Schneider2014-09-24 15:55:17 +0200
commitbcbd78e5ebe1a79510bc571a0682eed5157e9435 (patch)
tree097527ef21dccbfef537f3e78122186a3f984937 /itjs.php
parent78450f6e2ecf1df7dc4defe8dd954e53e492e786 (diff)
downloaditools-bcbd78e5ebe1a79510bc571a0682eed5157e9435.tar.gz
itools-bcbd78e5ebe1a79510bc571a0682eed5157e9435.tar.bz2
itools-bcbd78e5ebe1a79510bc571a0682eed5157e9435.zip
Reenable 304 for cschneid to (hopefully) reproduce problem now that we have javascript error handler
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 8f7f674..368d393 100644
--- a/itjs.php
+++ b/itjs.php
@@ -24,7 +24,7 @@ require "itools/itools.lib";
if (EDC('slowjs'))
sleep(20);
-if (false && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry'])
+if ($_COOKIE['myosotis'] == "1e62eaae5ea2a89a34fb674e77a10190" && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) # Currently only for cschneid
{
header("HTTP/1.0 304 Not Modified"); # client should always keep the component that fits the page it has
exit;