PHP error

Function get_magic_quotes_gpc() is deprecated

/home/bitrix/ext_www/academy.oetker.ru/local/order21/framework/web/CHttpRequest.php(120)

108         parent::init();
109         $this->normalizeRequest();
110     }
111 
112     /**
113      * Normalizes the request data.
114      * This method strips off slashes in request data if get_magic_quotes_gpc() returns true.
115      * It also performs CSRF validation if {@link enableCsrfValidation} is true.
116      */
117     protected function normalizeRequest()
118     {
119         // normalize request
120         if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
121         {
122             if(isset($_GET))
123                 $_GET=$this->stripSlashes($_GET);
124             if(isset($_POST))
125                 $_POST=$this->stripSlashes($_POST);
126             if(isset($_REQUEST))
127                 $_REQUEST=$this->stripSlashes($_REQUEST);
128             if(isset($_COOKIE))
129                 $_COOKIE=$this->stripSlashes($_COOKIE);
130         }
131 
132         if($this->enableCsrfValidation)

Stack Trace

#7
+
 /home/bitrix/ext_www/academy.oetker.ru/local/order21/index.php(11): YiiBase::createWebApplication("/home/bitrix/ext_www/academy.oetker.ru/local/order21/protected/c...")
06 
07     $yii = dirname(__FILE__) . '/framework/yii.php';
08     $config = dirname(__FILE__) . '/protected/config/development_front.php';
09 
10 require_once($yii);
11 Yii::createWebApplication($config)->runEnd('front');
2024-03-28 15:54:32 Apache Yii Framework/1.1.12