Removing php.ini

Caused blank page issue for a few people - turning magic quotes off in
code is OK
This commit is contained in:
Matt Pass
2016-09-05 08:56:12 +01:00
parent e9d7c7817f
commit 707d3a9b03
2 changed files with 1 additions and 2 deletions

View File

@@ -1 +0,0 @@
magic_quotes_gpc = Off

View File

@@ -89,7 +89,7 @@ if (isset($_GET['logout'])) {
die("Logging you out...");
}
// If magic quotes are still on (attempted to switch off in php.ini)
// If magic quotes are still on
if (get_magic_quotes_gpc ()) {
function stripslashes_deep($value) {
$value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);