/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)
#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); |
#1 |
+
–
/home/vgaz3052/cs-h7.fr/framework/web/CHttpRequest.php(119): HttpRequest->normalizeRequest() 114 * the user request data. 115 */ 116 public function init() 117 { 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. |
#2 |
+
–
/home/vgaz3052/cs-h7.fr/framework/base/CModule.php(394): CHttpRequest->init() 389 if(!isset($config['enabled']) || $config['enabled']) 390 { 391 Yii::trace("Loading \"$id\" application component",'system.CModule'); 392 unset($config['enabled']); 393 $component=Yii::createComponent($config); 394 $component->init(); 395 return $this->_components[$id]=$component; 396 } 397 } 398 } 399 |
#3 |
+
–
/home/vgaz3052/cs-h7.fr/framework/base/CApplication.php(522): CModule->getComponent("request") 517 * Returns the request component. 518 * @return CHttpRequest the request component 519 */ 520 public function getRequest() 521 { 522 return $this->getComponent('request'); 523 } 524 525 /** 526 * Returns the URL manager component. 527 * @return CUrlManager the URL manager component |
#4 |
+
–
/home/vgaz3052/cs-h7.fr/framework/web/CAssetManager.php(122): CApplication->getRequest() 117 */ 118 public function getBasePath() 119 { 120 if($this->_basePath===null) 121 { 122 $request=Yii::app()->getRequest(); 123 $this->setBasePath(dirname($request->getScriptFile()).DIRECTORY_SEPARATOR.self::DEFAULT_BASEPATH); 124 } 125 return $this->_basePath; 126 } 127 |
#5 |
+
–
/home/vgaz3052/cs-h7.fr/framework/web/CAssetManager.php(217): CAssetManager->getBasePath() 212 if(isset($this->_published[$path])) 213 return $this->_published[$path]; 214 elseif(is_string($path) && ($src=realpath($path))!==false) 215 { 216 $dir=$this->generatePath($src,$hashByName); 217 $dstDir=$this->getBasePath().DIRECTORY_SEPARATOR.$dir; 218 if(is_file($src)) 219 { 220 $fileName=basename($src); 221 $dstFile=$dstDir.DIRECTORY_SEPARATOR.$fileName; 222 |
#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'), |
#8 |
+
–
/home/vgaz3052/cs-h7.fr/common/extensions/yiibooster/components/Booster.php(260): require("/home/vgaz3052/cs-h7.fr/common/extensions/yiibooster/components/...") 255 /** 256 * 257 */ 258 protected function appendUserSuppliedPackagesToOurs() { 259 260 $bootstrapPackages = require(Yii::getPathOfAlias('booster.components') . '/packages.php'); 261 $bootstrapPackages += $this->createBootstrapCssPackage(); 262 $bootstrapPackages += $this->createSelect2Package(); 263 264 $this->packages = CMap::mergeArray( 265 $bootstrapPackages, |
#9 |
+
–
/home/vgaz3052/cs-h7.fr/common/extensions/yiibooster/components/Booster.php(246): Booster->appendUserSuppliedPackagesToOurs() 241 /** 242 * 243 */ 244 protected function includeAssets() { 245 246 $this->appendUserSuppliedPackagesToOurs(); 247 248 $this->addOurPackagesToYii(); 249 250 $this->registerCssPackagesIfEnabled(); 251 |
#10 |
+
–
/home/vgaz3052/cs-h7.fr/common/extensions/yiibooster/components/Booster.php(214): Booster->includeAssets() 209 210 $this->setRootAliasIfUndefined(); 211 212 $this->setAssetsRegistryIfNotDefined(); 213 214 $this->includeAssets(); 215 216 parent::init(); 217 } 218 219 /** @return bool */ |
#11 |
+
–
/home/vgaz3052/cs-h7.fr/framework/base/CModule.php(394): Booster->init() 389 if(!isset($config['enabled']) || $config['enabled']) 390 { 391 Yii::trace("Loading \"$id\" application component",'system.CModule'); 392 unset($config['enabled']); 393 $component=Yii::createComponent($config); 394 $component->init(); 395 return $this->_components[$id]=$component; 396 } 397 } 398 } 399 |
#12 |
+
–
/home/vgaz3052/cs-h7.fr/framework/base/CModule.php(530): CModule->getComponent("booster") 525 * Loads static application components. 526 */ 527 protected function preloadComponents() 528 { 529 foreach($this->preload as $id) 530 $this->getComponent($id); 531 } 532 533 /** 534 * Preinitializes the module. 535 * This method is called at the beginning of the module constructor. |
#13 |
+
–
/home/vgaz3052/cs-h7.fr/framework/base/CApplication.php(168): CModule->preloadComponents() 163 $this->initSystemHandlers(); 164 $this->registerCoreComponents(); 165 166 $this->configure($config); 167 $this->attachBehaviors($this->behaviors); 168 $this->preloadComponents(); 169 170 $this->init(); 171 } 172 173 |
#14 |
+
–
/home/vgaz3052/cs-h7.fr/framework/YiiBase.php(132): CApplication->__construct(array("timeZone" => "Asia/Calcutta", "name" => "SiteBuilder", "preload" => array("log", "booster"), "import" => array("application.models.*", "site_app.classes.*", "site_app.classes.Functions", "site_app.classes.PController", ...), ...)) 127 * to the constructor of the application class. 128 * @return mixed the application instance 129 */ 130 public static function createApplication($class,$config=null) 131 { 132 return new $class($config); 133 } 134 135 /** 136 * Returns the application singleton or null if the singleton has not been created yet. 137 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#15 |
+
–
/home/vgaz3052/cs-h7.fr/index.php(20): YiiBase::createApplication("WebApplication", "/home/vgaz3052/cs-h7.fr/protected/config/main.php") 15 Yii::setPathofAlias('site_app', dirname(__FILE__).'/common'); 16 Yii::setPathofAlias('bbclone_app', dirname(__FILE__).'/bbclone'); 17 18 try { 19 include dirname(__FILE__).'/common/classes/WebApplication.php'; 20 $app = Yii::createApplication('WebApplication',$config); 21 22 $app->isMainSite = true; 23 $app->builderMode = false; 24 if(isset($app->mainSiteConfig['hide_script_file'])) { 25 $app->urlManager->showScriptName = !$app->mainSiteConfig['hide_script_file']; |