mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +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']))
|
if(!empty($_E107['cli']))
|
||||||
{
|
{
|
||||||
error_reporting(E_ALL ^ E_NOTICE);
|
error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user