From 90a7d96a8cd056311e4a5a872dbad6f48a2fdd56 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 22 Oct 2014 17:59:00 +0200 Subject: better test for in a service directory --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.php') 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'])); -- cgit v1.2.3