diff options
| author | czaks <marcin@6irc.net> | 2016-05-05 10:29:13 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-05 10:29:13 +0200 |
| commit | 19b70663d7e786fca0425b53eb79412fd5987255 (patch) | |
| tree | fdf73aac90ab20a227881a68d08b591a4983eac4 /mod.php | |
| parent | 4c827cf1059513aadf01c7f82284bc6ce4d0cd61 (diff) | |
remove magic_quotes check; it`s 2016 after all
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -12,16 +12,6 @@ require_once 'inc/mod/auth.php'; if ($config['debug']) $parse_start_time = microtime(true); -// Fix for magic quotes -if (get_magic_quotes_gpc()) { - function strip_array($var) { - return is_array($var) ? array_map('strip_array', $var) : stripslashes($var); - } - - $_GET = strip_array($_GET); - $_POST = strip_array($_POST); -} - $query = isset($_SERVER['QUERY_STRING']) ? rawurldecode($_SERVER['QUERY_STRING']) : ''; $pages = array( |
