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');