summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 9ef6583..80ae502 100644
--- a/itjs.php
+++ b/itjs.php
@@ -21,7 +21,7 @@
require "itools/itools.lib";
-if (EDC('slow' . it::match('\.(\w+)$', $_SERVER['PHP_SELF'])))
+if (EDC('slow' . it::match('\.(css|js)\b', U($_GET))))
sleep(5);
$crc = $_REQUEST['c'] ?: $_REQUEST['s'];