From 02f1b896616d58023a1219aa47e820b60d04cd95 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 23 Oct 2014 14:00:47 +0200 Subject: next try to disable /www/server --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.php') 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'])); -- cgit v1.2.3