Update for PHP 8.0

PHP 8.0 drops the deprecated get_magic_quotes_gpc() function.
This commit is contained in:
Jeff Teunissen 2024-11-22 01:32:25 -05:00
parent 9e6f75ccbd
commit 0185914246
2 changed files with 1 additions and 7 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.htaccess

View file

@ -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_
?>