diff options
author | Urban Müller | 2013-10-15 14:46:56 +0000 |
---|---|---|
committer | Urban Müller | 2013-10-15 14:46:56 +0000 |
commit | b65e71742a28e9cbb2b0c2b2c83807a8556551d6 (patch) | |
tree | 081b157547a998461f12bd197f0329044ce89a73 | |
parent | 6b6081f5d7ad4985dfab0e45dad750e8bbaeb3a8 (diff) | |
download | itools-b65e71742a28e9cbb2b0c2b2c83807a8556551d6.tar.gz itools-b65e71742a28e9cbb2b0c2b2c83807a8556551d6.tar.bz2 itools-b65e71742a28e9cbb2b0c2b2c83807a8556551d6.zip |
bugfix: actually use file contents
-rw-r--r-- | itjs.class | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |