summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2014-10-22 17:59:00 +0200
committerUrban Müller2014-10-22 17:59:00 +0200
commit90a7d96a8cd056311e4a5a872dbad6f48a2fdd56 (patch)
tree00c225dd2ee143c9e4078363502813aefac8a876
parentcb9e12bd553bbbd9fd0687de73735177edd19a64 (diff)
downloaditools-90a7d96a8cd056311e4a5a872dbad6f48a2fdd56.tar.gz
itools-90a7d96a8cd056311e4a5a872dbad6f48a2fdd56.tar.bz2
itools-90a7d96a8cd056311e4a5a872dbad6f48a2fdd56.zip
better test for in a service directory
-rw-r--r--itjs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.php b/itjs.php
index 1fa675f..469eedc 100644
--- a/itjs.php
+++ b/itjs.php
@@ -31,7 +31,7 @@ if (false && $crc != "-" && !$_SERVER['HTTP_CACHE_CONTROL'] && $_SERVER['HTTP_IF
exit;
}
-if (it::match('/server/', $GLOBALS['ULTRAHOME']))
+if (!$GLOBALS['ULTRAHOME'])
exit; # useless here. cannot write tempfiles
$files = itjs::filenames($_GET['files'] ?: it::match('/itjs/([-a-z0-9_,.]*)', $_SERVER['PHP_SELF']));