From d923ea471f181464ea58d9cd5905aae0d9bca777 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Thu, 12 Feb 2009 14:36:58 +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 116df0e2c0..193673226e 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -301,11 +301,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 ; @@ -313,7 +313,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 b8312913e4..d632a9105b 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -351,11 +351,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