forked from extern/egroupware
switching of deprecated warnings which we wont fix in stable 14.2
This commit is contained in:
parent
dfc66daf8d
commit
2ac7a5306a
@ -21,7 +21,7 @@
|
|||||||
// Only variables should be assigned by reference, eg. soetemplate::tree_walk()
|
// Only variables should be assigned by reference, eg. soetemplate::tree_walk()
|
||||||
// Declaration of <extended method> should be compatible with <parent method>, varios places where method parameters change
|
// Declaration of <extended method> should be compatible with <parent method>, varios places where method parameters change
|
||||||
// --> switching it off for now, as it makes error-log unusable
|
// --> 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())
|
if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime())
|
||||||
{
|
{
|
||||||
set_magic_quotes_runtime(false);
|
set_magic_quotes_runtime(false);
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
* @version $Id$
|
* @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
|
// for an old header, we need to setup the reference before including it
|
||||||
$GLOBALS['phpgw_info'] =& $GLOBALS['egw_info'];
|
$GLOBALS['phpgw_info'] =& $GLOBALS['egw_info'];
|
||||||
|
@ -17,7 +17,7 @@ if (php_sapi_name() !== 'cli') // security precaution: forbit calling setup-cli
|
|||||||
{
|
{
|
||||||
die('<h1>setup-cli.php must NOT be called as web-page --> exiting !!!</h1>');
|
die('<h1>setup-cli.php must NOT be called as web-page --> exiting !!!</h1>');
|
||||||
}
|
}
|
||||||
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT);
|
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
|
||||||
|
|
||||||
$dry_run = false;
|
$dry_run = false;
|
||||||
array_shift($_SERVER['argv']);
|
array_shift($_SERVER['argv']);
|
||||||
|
Loading…
Reference in New Issue
Block a user