We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7bfcf commit 756c401Copy full SHA for 756c401
includes/common.inc.php
@@ -3,26 +3,6 @@
3
4
define('PHPREDIS_ADMIN_PATH', dirname(__DIR__));
5
6
-// Undo magic quotes (both in keys and values)
7
-if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
8
- $process = array(&$_GET, &$_POST);
9
-
10
- foreach ($process as $key => $val) {
11
- foreach ($val as $k => $v) {
12
- unset($process[$key][$k]);
13
14
- if (is_array($v)) {
15
- $process[$key][stripslashes($k)] = $v;
16
- $process[] = &$process[$key][stripslashes($k)];
17
- } else {
18
- $process[$key][stripslashes($k)] = stripslashes($v);
19
- }
20
21
22
23
- unset($process);
24
-}
25
26
27
28
0 commit comments