diff options
author | Urban Müller | 2014-10-23 14:00:47 +0200 |
---|---|---|
committer | Urban Müller | 2014-10-23 14:00:47 +0200 |
commit | 02f1b896616d58023a1219aa47e820b60d04cd95 (patch) | |
tree | 933c053af87ff2cb3671276731455c5442891a50 | |
parent | 90a7d96a8cd056311e4a5a872dbad6f48a2fdd56 (diff) | |
download | itools-02f1b896616d58023a1219aa47e820b60d04cd95.tar.gz itools-02f1b896616d58023a1219aa47e820b60d04cd95.tar.bz2 itools-02f1b896616d58023a1219aa47e820b60d04cd95.zip |
next try to disable /www/server
-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 (!$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'])); |