Remove magic quotes reference
This function is removed in PHP 8
This commit is contained in:
parent
757b116a77
commit
20a8c2f7a5
|
@ -238,14 +238,6 @@ class Engine
|
||||||
$this->iTimeInit = microtime(true);
|
$this->iTimeInit = microtime(true);
|
||||||
$this->SetUseAutoHooks(Config::Get('sys.module.use_auto_hooks'));
|
$this->SetUseAutoHooks(Config::Get('sys.module.use_auto_hooks'));
|
||||||
$this->AutoloadRegister();
|
$this->AutoloadRegister();
|
||||||
if (function_exists('get_magic_quotes_gpc')) {
|
|
||||||
if (get_magic_quotes_gpc()) {
|
|
||||||
func_stripslashes($_REQUEST);
|
|
||||||
func_stripslashes($_GET);
|
|
||||||
func_stripslashes($_POST);
|
|
||||||
func_stripslashes($_COOKIE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue