mirror of
https://github.com/e107inc/e107.git
synced 2025-08-28 16:50:07 +02:00
Turn off web error handler for CLI (breaks a lot of stuff!)
error_handler now only runs set_error_handler in web mode. E_ALL notices, warnings, and errors are now reported, which causes the test harness to fail.
This commit is contained in:
@@ -15,8 +15,7 @@ class Unit extends E107Base
|
||||
global $_E107;
|
||||
$_E107 = array();
|
||||
$_E107['cli'] = true;
|
||||
$_E107['phpunit'] = true;
|
||||
#$_E107['debug'] = true;
|
||||
$_E107['debug'] = true;
|
||||
|
||||
codecept_debug("Loading ".APP_PATH."/class2.php…");
|
||||
define('E107_DBG_BASIC', true);
|
||||
|
Reference in New Issue
Block a user