From 20a8c2f7a5f1e62ced639e77870ec7168b073277 Mon Sep 17 00:00:00 2001 From: Aleksandr Yakovlev Date: Sun, 9 Jun 2024 13:19:58 +0600 Subject: [PATCH] Remove magic quotes reference This function is removed in PHP 8 --- framework/classes/engine/Engine.class.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/framework/classes/engine/Engine.class.php b/framework/classes/engine/Engine.class.php index 445fc88..c6da253 100644 --- a/framework/classes/engine/Engine.class.php +++ b/framework/classes/engine/Engine.class.php @@ -238,14 +238,6 @@ class Engine $this->iTimeInit = microtime(true); $this->SetUseAutoHooks(Config::Get('sys.module.use_auto_hooks')); $this->AutoloadRegister(); - if (function_exists('get_magic_quotes_gpc')) { - if (get_magic_quotes_gpc()) { - func_stripslashes($_REQUEST); - func_stripslashes($_GET); - func_stripslashes($_POST); - func_stripslashes($_COOKIE); - } - } } /**