diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index 01c0fcd4f2..99acb9856c 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -21,7 +21,7 @@ // Only variables should be assigned by reference, eg. soetemplate::tree_walk() // Declaration of should be compatible with , varios places where method parameters change // --> switching it off for now, as it makes error-log unusable -error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT); +error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime()) { set_magic_quotes_runtime(false); diff --git a/setup/inc/functions.inc.php b/setup/inc/functions.inc.php index ecd9559a89..efe5a7b042 100644 --- a/setup/inc/functions.inc.php +++ b/setup/inc/functions.inc.php @@ -13,7 +13,7 @@ * @version $Id$ */ -error_reporting(error_reporting() & ~E_NOTICE & ~E_STRICT); +error_reporting(error_reporting() & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); // for an old header, we need to setup the reference before including it $GLOBALS['phpgw_info'] =& $GLOBALS['egw_info']; diff --git a/setup/setup-cli.php b/setup/setup-cli.php index aa2036a347..f9c9106df1 100755 --- a/setup/setup-cli.php +++ b/setup/setup-cli.php @@ -17,7 +17,7 @@ if (php_sapi_name() !== 'cli') // security precaution: forbit calling setup-cli { die('

setup-cli.php must NOT be called as web-page --> exiting !!!

'); } -error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT); +error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED); $dry_run = false; array_shift($_SERVER['argv']);