mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Issue #2146 - Disable PHP Strict errors in CLI mode.
This commit is contained in:
@@ -2230,7 +2230,7 @@ class error_handler
|
||||
|
||||
if(!empty($_E107['cli']))
|
||||
{
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user