diff options
-rw-r--r-- | itjs.class | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); |