From 5e5957cca1f0aa48a49238524da82024d6cdfdfc Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Thu, 28 Feb 2019 20:01:11 +0100 Subject: [PATCH] removed magic_quotes_gpc :D --- bl-kernel/boot/admin.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bl-kernel/boot/admin.php b/bl-kernel/boot/admin.php index bbf26cf3..4e67d145 100644 --- a/bl-kernel/boot/admin.php +++ b/bl-kernel/boot/admin.php @@ -23,14 +23,6 @@ $layout['controller'] = $layout['view'] = $layout['slug'] = empty($explodeSlug[0 unset($explodeSlug[0]); $layout['parameters'] = implode('/', $explodeSlug); -// Disable Magic Quotes. -// Thanks, http://stackoverflow.com/questions/517008/how-to-turn-off-magic-quotes-on-shared-hosting -if ( in_array( strtolower( ini_get( 'magic_quotes_gpc' ) ), array( '1', 'on' ) ) ) { - $_POST = array_map('stripslashes', $_POST); - $_GET = array_map('stripslashes', $_GET); - $_COOKIE = array_map('stripslashes', $_COOKIE); -} - // Boot plugins rules include(PATH_RULES.'60.plugins.php');