/var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/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 |
+
–
/var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/web/CHttpRequest.php(119): CHttpRequest->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. |
#1 |
+
–
/var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/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 |
#2 |
+
–
/var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/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 |
#3 |
+
–
/var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/web/CWebApplication.php(545): CApplication->getRequest() 540 */ 541 protected function init() 542 { 543 parent::init(); 544 // preload 'request' so that it has chance to respond to onBeginRequest event. 545 $this->getRequest(); 546 } 547 } |
#4 |
+
–
/var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/base/CApplication.php(170): CWebApplication->init() 165 166 $this->configure($config); 167 $this->attachBehaviors($this->behaviors); 168 $this->preloadComponents(); 169 170 $this->init(); 171 } 172 173 174 /** 175 * Runs the application. |
#5 |
+
–
/var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/YiiBase.php(125): CApplication->__construct(array("name" => "CreditPMI", "preload" => array("log", "bootstrap"), "defaultController" => "home", "import" => array("application.models.*", "application.components.*", "application.extensions.*", "application.extensions.YiiMailer.YiiMailer", ...), ...)) 120 * to the constructor of the application class. 121 * @return mixed the application instance 122 */ 123 public static function createApplication($class,$config=null) 124 { 125 return new $class($config); 126 } 127 128 /** 129 * Returns the application singleton or null if the singleton has not been created yet. 130 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#6 |
+
–
/var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/YiiBase.php(98): YiiBase::createApplication("CWebApplication", "/var/www/vhosts/ipomea.main/creditpmi.it/it/protected/config/mai...") 093 * If not, the directory will be defaulted to 'protected'. 094 * @return CWebApplication 095 */ 096 public static function createWebApplication($config=null) 097 { 098 return self::createApplication('CWebApplication',$config); 099 } 100 101 /** 102 * Creates a console application instance. 103 * @param mixed $config application configuration. |
#7 |
+
–
/var/www/vhosts/ipomea.main/creditpmi.it/it/index.php(18): YiiBase::createWebApplication("/var/www/vhosts/ipomea.main/creditpmi.it/it/protected/config/mai...") 13 // specify how many levels of call stack should be shown in each log message 14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 0); 15 16 require_once($yii); 17 18 $app = Yii::createWebApplication($config); 19 20 //Yii::registerAutoloader(array('YiiExcel', 'autoload'), true); 21 //PHPExcel_Shared_ZipStreamWrapper::register(); 22 // 23 //if (ini_get('mbstring.func_overload') & 2) { |