diff options
| author | czaks <marcin@6irc.net> | 2016-05-05 10:54:09 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-05 10:54:09 +0200 |
| commit | d310abc95c80a35f6cb4f8e5119e1d46bdb09b14 (patch) | |
| tree | 6b77311856bf1dd7387377d99977d23c30a955c0 /mod.php | |
| parent | 186ad5ca86ae2255bbe0d6846a390963d63ae9e9 (diff) | |
| parent | 19b70663d7e786fca0425b53eb79412fd5987255 (diff) | |
Merge branch 'master' of github.com:vichan-devel/vichan
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( |
