summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-12-06 07:34:50 +0300
committerAndrew Dolgov <[email protected]>2019-12-06 07:34:50 +0300
commit0697eca0e111a194f15f12025ee1859b0f32843b (patch)
treec876beac06172dac45303097e8187d664e097c17 /backend.php
parent565547f5a19ff8af7e882bdb23b2a916a05e5b00 (diff)
remove testing for get_magic_quotes_gpc: deprecated in php7.4, apparently not working since php 5.4
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/backend.php b/backend.php
index b2eba083e..cb158f705 100644
--- a/backend.php
+++ b/backend.php
@@ -2,21 +2,6 @@
set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR .
get_include_path());
- /* remove ill effects of magic quotes */
-
- if (get_magic_quotes_gpc()) {
- function stripslashes_deep($value) {
- $value = is_array($value) ?
- array_map('stripslashes_deep', $value) : stripslashes($value);
- return $value;
- }
-
- $_POST = array_map('stripslashes_deep', $_POST);
- $_GET = array_map('stripslashes_deep', $_GET);
- $_COOKIE = array_map('stripslashes_deep', $_COOKIE);
- $_REQUEST = array_map('stripslashes_deep', $_REQUEST);
- }
-
$op = $_REQUEST["op"];
@$method = $_REQUEST['subop'] ? $_REQUEST['subop'] : $_REQUEST["method"];