Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/vgaz3052/cs-h7.fr/framework/web/CHttpRequest.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/vgaz3052/cs-h7.fr/framework/web/CHttpRequest.php:130) in /home/vgaz3052/cs-h7.fr/framework/base/CErrorHandler.php on line 293
PHP error

PHP error

Function get_magic_quotes_gpc() is deprecated

/home/vgaz3052/cs-h7.fr/framework/web/CHttpRequest.php(130)

118         parent::init();
119         $this->normalizeRequest();
120     }
121 
122     /**
123      * Normalizes the request data.
124      * This method strips off slashes in request data if get_magic_quotes_gpc() returns true.
125      * It also performs CSRF validation if {@link enableCsrfValidation} is true.
126      */
127     protected function normalizeRequest()
128     {
129         // normalize request
130         if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
131         {
132             if(isset($_GET))
133                 $_GET=$this->stripSlashes($_GET);
134             if(isset($_POST))
135                 $_POST=$this->stripSlashes($_POST);
136             if(isset($_REQUEST))
137                 $_REQUEST=$this->stripSlashes($_REQUEST);
138             if(isset($_COOKIE))
139                 $_COOKIE=$this->stripSlashes($_COOKIE);
140         }
141 
142         if($this->enableCsrfValidation)

Stack Trace

#0
+
 /home/vgaz3052/cs-h7.fr/common/classes/HttpRequest.php(20): CHttpRequest->normalizeRequest()
15                     $_REQUEST = array_merge($_REQUEST, $_POST);
16                         
17                 }
18             }
19         //}
20         parent::normalizeRequest();
21     }
22     function get_real_post() {
23 
24         function set_nested_value(&$arr, &$keys, &$value) {
25             $key = array_shift($keys);
#6
+
 /home/vgaz3052/cs-h7.fr/common/extensions/yiibooster/components/Booster.php(413): CAssetManager->publish("/home/vgaz3052/cs-h7.fr/common/extensions/yiibooster/assets", false, -1, false)
408     public function getAssetsUrl() {
409         
410         if (isset($this->_assetsUrl)) {
411             return $this->_assetsUrl;
412         } else {
413             return $this->_assetsUrl = Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('booster.assets'), false, -1, $this->forceCopyAssets);
414         }
415     }
416 
417     protected function setAssetsRegistryIfNotDefined() {
418         
#7
+
 /home/vgaz3052/cs-h7.fr/common/extensions/yiibooster/components/packages.php(14): Booster->getAssetsUrl()
09  *
10  * @var Bootstrap $this
11  */
12 return array(
13     'font-awesome' => array(
14         'baseUrl' => $this->enableCdn ? '//netdna.bootstrapcdn.com/font-awesome/4.1.0/' : $this->getAssetsUrl().'/font-awesome/',
15         'css' => array(($this->minify || $this->enableCdn) ? 'css/font-awesome.min.css' : 'css/font-awesome.css'),
16     ),
17     'bootstrap.js' => array(
18         'baseUrl' => $this->enableCdn ? '//netdna.bootstrapcdn.com/bootstrap/3.1.1/' : $this->getAssetsUrl() . '/bootstrap/',
19         'js' => array($this->minify ? 'js/bootstrap.min.js' : 'js/bootstrap.js'),
2024-04-26 16:37:59 Apache Yii Framework/1.1.21