diff options
author | Urban Müller | 2014-10-22 17:59:00 +0200 |
---|---|---|
committer | Urban Müller | 2014-10-22 17:59:00 +0200 |
commit | 90a7d96a8cd056311e4a5a872dbad6f48a2fdd56 (patch) | |
tree | 00c225dd2ee143c9e4078363502813aefac8a876 | |
parent | cb9e12bd553bbbd9fd0687de73735177edd19a64 (diff) | |
download | itools-90a7d96a8cd056311e4a5a872dbad6f48a2fdd56.tar.gz itools-90a7d96a8cd056311e4a5a872dbad6f48a2fdd56.tar.bz2 itools-90a7d96a8cd056311e4a5a872dbad6f48a2fdd56.zip |
better test for in a service directory
-rw-r--r-- | itjs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'])); |