From 6314ea0e3825527f898cdc64dbc5304bafe241c0 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 27 Oct 2015 18:14:25 +0100 Subject: get file type from query params --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.php') 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']; -- cgit v1.2.3