mirror of
https://github.com/e107inc/e107.git
synced 2025-04-16 02:26:25 +02:00
Issue #2146 - Disable PHP Strict errors in CLI mode.
This commit is contained in:
parent
52f4e2f346
commit
34f96ff932
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user