Don't use deprecated function
This commit is contained in:
parent
e0ef072bd0
commit
0d074077bb
|
@ -49,7 +49,7 @@ if (!defined("SID")) {
|
|||
|
||||
// disable magic quotes to be able to use database escaping function
|
||||
remove_slashes(array(&$_GET, &$_POST, &$_COOKIE), $filter);
|
||||
if (function_exists("set_magic_quotes_runtime")) { // removed in PHP 6
|
||||
if (get_magic_quotes_runtime()) {
|
||||
set_magic_quotes_runtime(false);
|
||||
}
|
||||
@set_time_limit(0); // @ - can be disabled
|
||||
|
|
Loading…
Reference in a new issue