From d9e457bbad13e1ca27d6734d431471aa2f8f5faf Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Thu, 12 Feb 2009 14:37:27 +0000 Subject: [PATCH] MFH: Fixed wrong usage of error_reporting directive --- php.ini-dist | 6 +++--- php.ini-recommended | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/php.ini-dist b/php.ini-dist index 8b7e434148..73c76678b2 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -290,11 +290,11 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) ; ; - Show all errors, except for notices and coding standards warnings ; -;error_reporting = E_ALL & ~E_NOTICE +;error_reporting = E_ALL | ~E_NOTICE ; ; - Show all errors, except for notices ; -;error_reporting = E_ALL & ~E_NOTICE | E_STRICT +;error_reporting = E_ALL | ~E_NOTICE | E_STRICT ; ; - Show only errors ; @@ -302,7 +302,7 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) ; ; - Show all errors except for notices and coding standards warnings ; -error_reporting = E_ALL & ~E_NOTICE +error_reporting = E_ALL | ~E_NOTICE ; Print out errors (as a part of the output). For production web sites, ; you're strongly encouraged to turn this feature off, and use error logging diff --git a/php.ini-recommended b/php.ini-recommended index 1ce5c2d98e..bdb38383cd 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -339,11 +339,11 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128MB) ; ; - Show all errors, except for notices and coding standards warnings ; -;error_reporting = E_ALL & ~E_NOTICE +;error_reporting = E_ALL | ~E_NOTICE ; ; - Show all errors, except for notices ; -;error_reporting = E_ALL & ~E_NOTICE | E_STRICT +;error_reporting = E_ALL | ~E_NOTICE | E_STRICT ; ; - Show only errors ; -- 2.40.0