diff options
-rw-r--r-- | itjs.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |