summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/itjs.php b/itjs.php
index 0c552b4..1fa675f 100644
--- a/itjs.php
+++ b/itjs.php
@@ -31,6 +31,9 @@ if (false && $crc != "-" && !$_SERVER['HTTP_CACHE_CONTROL'] && $_SERVER['HTTP_IF
exit;
}
+if (it::match('/server/', $GLOBALS['ULTRAHOME']))
+ exit; # useless here. cannot write tempfiles
+
$files = itjs::filenames($_GET['files'] ?: it::match('/itjs/([-a-z0-9_,.]*)', $_SERVER['PHP_SELF']));
$data = itjs::filecontents($files);
$file = end($files);