summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.class')
-rw-r--r--itjs.class6
1 files changed, 5 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index 4b1b2b2..df80123 100644
--- a/itjs.class
+++ b/itjs.class
@@ -146,7 +146,11 @@ function strip($code)
*/
function checksum($files = array())
{
- foreach (array_merge($files, array('itjs.php', 'itjs.class')) as $file)
+ $itjs = "/www/server/phpinclude/itools/itjs";
+ $itools_itjs = glob("$itjs/*.{js,css,php}", GLOB_BRACE);
+ $service_itjs = glob($GLOBALS['ULTRAHOME'] . "/itjs/*.{js,css,php}", GLOB_BRACE);
+
+ foreach (array_merge($files, $service_itjs, $itools_itjs, array("$itjs/itjs.php", "$itjs/itjs.class")) as $file)
{
if (!preg_match("/^devel/", $GLOBALS['ULTRASERVERTYPE']))
$result += @filesize($file);