Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/erikdubbelboer/phpRedisAdmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc.php')
-rw-r--r--includes/common.inc.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/includes/common.inc.php b/includes/common.inc.php
index ca63814..85dfe76 100644
--- a/includes/common.inc.php
+++ b/includes/common.inc.php
@@ -3,26 +3,6 @@ require dirname(__FILE__) . '/../vendor/autoload.php';
define('PHPREDIS_ADMIN_PATH', dirname(__DIR__));
-// Undo magic quotes (both in keys and values)
-if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
- $process = array(&$_GET, &$_POST);
-
- foreach ($process as $key => $val) {
- foreach ($val as $k => $v) {
- unset($process[$key][$k]);
-
- if (is_array($v)) {
- $process[$key][stripslashes($k)] = $v;
- $process[] = &$process[$key][stripslashes($k)];
- } else {
- $process[$key][stripslashes($k)] = stripslashes($v);
- }
- }
- }
-
- unset($process);
-}
-