mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
fixed php5.3 warning: PHP Deprecated: Function magic_quotes_runtime() is deprecated
This commit is contained in:
parent
208560abbb
commit
8b59123838
@ -18,7 +18,10 @@
|
||||
*/
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
magic_quotes_runtime(false);
|
||||
if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime())
|
||||
{
|
||||
set_magic_quotes_runtime(false);
|
||||
}
|
||||
|
||||
$egw_min_php_version = '5.1';
|
||||
if (!function_exists('version_compare') || version_compare(PHP_VERSION,$egw_min_php_version) < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user