1
0
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:
Cameron 2016-12-22 11:36:13 -08:00
parent 52f4e2f346
commit 34f96ff932

View File

@ -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;
}