You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-11-20 12:22:23 +03:00
scripts/postfixadmin-cli.php : see #385 - add to the current error reporting level, not trample all over it
This commit is contained in:
@@ -124,7 +124,10 @@ class PostfixAdmin
|
|||||||
private function __initConstants()
|
private function __initConstants()
|
||||||
{
|
{
|
||||||
ini_set('display_errors', '1');
|
ini_set('display_errors', '1');
|
||||||
ini_set('error_reporting', '' . E_ALL);
|
|
||||||
|
$error_reporting_orig = error_reporting();
|
||||||
|
error_reporting($error_reporting_orig | E_ERROR | E_WARNING | E_PARSE);
|
||||||
|
|
||||||
ini_set('html_errors', "0");
|
ini_set('html_errors', "0");
|
||||||
ini_set('implicit_flush', "1");
|
ini_set('implicit_flush', "1");
|
||||||
ini_set('max_execution_time', "0");
|
ini_set('max_execution_time', "0");
|
||||||
|
|||||||
Reference in New Issue
Block a user