diff options
author | Urban Müller | 2015-10-27 18:14:25 +0100 |
---|---|---|
committer | Urban Müller | 2015-10-27 18:14:25 +0100 |
commit | 6314ea0e3825527f898cdc64dbc5304bafe241c0 (patch) | |
tree | 57f0cc727209e5dac2d628e59fc299c8fbc623f5 | |
parent | 29852dbc1e993bc5115604ab21c253f7ffe6b0d3 (diff) | |
download | itools-6314ea0e3825527f898cdc64dbc5304bafe241c0.tar.gz itools-6314ea0e3825527f898cdc64dbc5304bafe241c0.tar.bz2 itools-6314ea0e3825527f898cdc64dbc5304bafe241c0.zip |
get file type from query params
-rw-r--r-- | itjs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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']; |