summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
authorUrban Müller2013-10-15 14:46:56 +0000
committerUrban Müller2013-10-15 14:46:56 +0000
commitb65e71742a28e9cbb2b0c2b2c83807a8556551d6 (patch)
tree081b157547a998461f12bd197f0329044ce89a73 /itjs.class
parent6b6081f5d7ad4985dfab0e45dad750e8bbaeb3a8 (diff)
downloaditools-b65e71742a28e9cbb2b0c2b2c83807a8556551d6.tar.gz
itools-b65e71742a28e9cbb2b0c2b2c83807a8556551d6.tar.bz2
itools-b65e71742a28e9cbb2b0c2b2c83807a8556551d6.zip
bugfix: actually use file contents
Diffstat (limited to 'itjs.class')
-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
}