do not call get_magic_quotes_gpc() anymore

This commit is contained in:
Uwe Steinmann 2021-05-11 21:18:15 +02:00
parent fb366307bf
commit c0120b0a1d

View File

@ -47,7 +47,7 @@ if(isset($settings->_maxExecutionTime)) {
}
}
if (get_magic_quotes_gpc()) {
if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
$process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
while (list($key, $val) = each($process)) {
foreach ($val as $k => $v) {