1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-02 12:21:09 +02:00

Issue-256: Fix PHP 7.3 compatibility issues update zend.ze1_compatibility_mode mode (#267)

This commit is contained in:
kishor
2020-09-16 05:42:43 +05:30
committed by GitHub
parent 4285590c90
commit 6aa4166b7e
2 changed files with 1 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ if (function_exists('spl_autoload_register') && function_exists('spl_autoload_un
require dirname(__FILE__) . '/HTMLPurifier.autoload-legacy.php';
}
// phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.zend_ze1_compatibility_modeRemoved
if (ini_get('zend.ze1_compatibility_mode')) {
trigger_error("HTML Purifier is not compatible with zend.ze1_compatibility_mode; please turn it off", E_USER_ERROR);
}