summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorUrban Müller2015-10-27 18:14:25 +0100
committerUrban Müller2015-10-27 18:14:25 +0100
commit6314ea0e3825527f898cdc64dbc5304bafe241c0 (patch)
tree57f0cc727209e5dac2d628e59fc299c8fbc623f5 /itjs.php
parent29852dbc1e993bc5115604ab21c253f7ffe6b0d3 (diff)
downloaditools-6314ea0e3825527f898cdc64dbc5304bafe241c0.tar.gz
itools-6314ea0e3825527f898cdc64dbc5304bafe241c0.tar.bz2
itools-6314ea0e3825527f898cdc64dbc5304bafe241c0.zip
get file type from query params
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 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'];