mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
feat: PHP 8.4 support (#441)
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