summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/itjs.php b/itjs.php
index 368d393..9b1788f 100644
--- a/itjs.php
+++ b/itjs.php
@@ -21,8 +21,8 @@
require "itools/itools.lib";
-if (EDC('slowjs'))
- sleep(20);
+if (EDC('slow' . it::match('\.(\w+)$', $_SERVER['PHP_SELF'])))
+ sleep(10);
if ($_COOKIE['myosotis'] == "1e62eaae5ea2a89a34fb674e77a10190" && $_SERVER['HTTP_IF_NONE_MATCH'] && !it::is_devel() && !$_REQUEST['retry']) # Currently only for cschneid
{