avoiding deprecated warning under php5.3

This commit is contained in:
Ralf Becker 2010-07-25 09:09:05 +00:00
parent 39596007fe
commit 0cd4fed0ae

View File

@ -34,8 +34,10 @@ $setup_tpl->set_file(array(
)); ));
/* Following to ensure windows file paths are saved correctly */ /* Following to ensure windows file paths are saved correctly */
set_magic_quotes_runtime(0); if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime())
{
set_magic_quotes_runtime(0);
}
$GLOBALS['egw_setup']->loaddb(); $GLOBALS['egw_setup']->loaddb();
/* Check api version, use correct table */ /* Check api version, use correct table */