Add validation in class.system.php when is used function "md5_file"

This commit is contained in:
Julio Cesar Laura
2013-06-26 15:32:46 -04:00
parent b2702e0ab6
commit 2e0f11f6ae

View File

@@ -1096,10 +1096,10 @@ class System
$md5 = array ();
if ($readGlobalIniFile) {
$md5[] = md5_file( $globalIniFile );
$md5[] = @md5_file( $globalIniFile );
}
if ($readWsIniFile) {
$md5[] = md5_file( $wsIniFile );
$md5[] = @md5_file( $wsIniFile );
}
$hash = implode( '-', $md5 );