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 5f2a12d..556cde9 100644
--- a/itjs.php
+++ b/itjs.php
@@ -24,7 +24,7 @@ require "itools/itools.lib";
if (EDC('slow' . it::match('\.(css|js)\b', U($_GET))))
sleep(5);
-if (it::match('/server/', $_SERVER['DOCUMENT_ROOT']))
+if (is_array($_GET['files']) || it::match('/server/', $_SERVER['DOCUMENT_ROOT']))
exit; # useless here. cannot write tempfiles
itjs::far_future_headers(); # may exit