From b65e71742a28e9cbb2b0c2b2c83807a8556551d6 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 15 Oct 2013 14:46:56 +0000 Subject: bugfix: actually use file contents --- itjs.class | 4 ++-- 1 file 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 } -- cgit v1.2.3