mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-23 12:42:21 +00:00
Update for PHP 8.0
PHP 8.0 drops the deprecated get_magic_quotes_gpc() function.
This commit is contained in:
parent
9e6f75ccbd
commit
0185914246
2 changed files with 1 additions and 7 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.htaccess
|
|
@ -120,12 +120,5 @@
|
|||
$var = stripSlashes ($var);
|
||||
}
|
||||
}
|
||||
|
||||
if (true && get_magic_quotes_gpc()) { // unquote $_GET, $_POST, $_COOKIE
|
||||
stripAllSlashes ($_GET);
|
||||
stripAllSlashes ($_POST);
|
||||
stripAllSlashes ($_COOKIE);
|
||||
stripAllSlashes ($_REQUEST);
|
||||
}
|
||||
} // !_LIBFUNCS_
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue