summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorUrban Müller2014-10-23 14:00:47 +0200
committerUrban Müller2014-10-23 14:00:47 +0200
commit02f1b896616d58023a1219aa47e820b60d04cd95 (patch)
tree933c053af87ff2cb3671276731455c5442891a50 /itjs.php
parent90a7d96a8cd056311e4a5a872dbad6f48a2fdd56 (diff)
downloaditools-02f1b896616d58023a1219aa47e820b60d04cd95.tar.gz
itools-02f1b896616d58023a1219aa47e820b60d04cd95.tar.bz2
itools-02f1b896616d58023a1219aa47e820b60d04cd95.zip
next try to disable /www/server
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 469eedc..bc32806 100644
--- a/itjs.php
+++ b/itjs.php
@@ -31,7 +31,7 @@ if (false && $crc != "-" && !$_SERVER['HTTP_CACHE_CONTROL'] && $_SERVER['HTTP_IF
exit;
}
-if (!$GLOBALS['ULTRAHOME'])
+if (it::match('/server/', $_SERVER['DOCUMENT_ROOT']))
exit; # useless here. cannot write tempfiles
$files = itjs::filenames($_GET['files'] ?: it::match('/itjs/([-a-z0-9_,.]*)', $_SERVER['PHP_SELF']));