summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/itjs.class b/itjs.class
index d9db666..46e3ff4 100644
--- a/itjs.class
+++ b/itjs.class
@@ -178,8 +178,8 @@ static function checksum($files = array())
$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)
- $allfiles .= $file;
+ foreach (array_merge($files, $service_itjs, $itools_itjs, array("$itjs/itjs.php", "$itjs/itjs.class")) as $fn)
+ $allfiles .= @file_get_contents($fn);
return substr(md5($allfiles), 0, 8); # UTF8SAFE
}