mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 08:21:52 +00:00
Recent PHPs default to display_error=0, override this in index.php
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
parent
7cfc44654a
commit
abba77a80b
@ -33,6 +33,10 @@ error_reporting(E_ALL | E_STRICT);
|
||||
// exercises an error condition to detect for it.
|
||||
ini_set('log_errors', false);
|
||||
|
||||
// But make it easier for us to debug if there is some misconfiguration
|
||||
// in the initial setup of the tests.
|
||||
ini_set('display_errors', true);
|
||||
|
||||
define('HTMLPurifierTest', 1);
|
||||
define('HTMLPURIFIER_SCHEMA_STRICT', true); // validate schemas
|
||||
chdir(dirname(__FILE__));
|
||||
|
Loading…
Reference in New Issue
Block a user