Fixed : fix php version compatible with php version 8.2 to 8.5
This commit is contained in:
@@ -72,7 +72,7 @@ class HTMLPurifier_ConfigSchema
|
||||
$r = unserialize($contents);
|
||||
if (!$r) {
|
||||
$hash = sha1($contents);
|
||||
trigger_error("Unserialization of configuration schema failed, sha1 of file was $hash", E_USER_ERROR);
|
||||
throw new Exception("Unserialization of configuration schema failed, sha1 of file was $hash");
|
||||
}
|
||||
return $r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user