/srv/vhost/labcoop.coop/home/html/enquestes/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 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/application/core/LSHttpRequest.php(147): CHttpRequest->normalizeRequest() 142 return false; 143 } 144 145 protected function normalizeRequest() 146 { 147 parent::normalizeRequest(); 148 149 if (!isset($_SERVER['REQUEST_METHOD']) || $_SERVER['REQUEST_METHOD'] != 'POST') { 150 return; 151 } 152 |
#1 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/framework/web/CHttpRequest.php(119): LSHttpRequest->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 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/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 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/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 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/framework/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 } |
#5 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/application/core/LSYii_Application.php(93): CWebApplication->init() 88 } 89 90 /* @inheritdoc */ 91 public function init() 92 { 93 parent::init(); 94 $this->initLanguage(); 95 // These take care of dynamically creating a class for each token / response table. 96 Yii::import('application.helpers.ClassFactory'); 97 ClassFactory::registerClass('Token_', 'Token'); 98 ClassFactory::registerClass('Response_', 'Response'); |
#6 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/framework/base/CApplication.php(170): LSYii_Application->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. |
#7 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/application/core/LSYii_Application.php(75): CApplication->__construct(array("name" => "LimeSurvey", "localeClass" => "LSYii_Locale", "defaultController" => "surveys", "params" => array("defaultPageSize" => 10, "pageSizeOptions" => array(5 => 5, 10 => 10, 20 => 20, 50 => 50, ...), "pageSizeOptionsTokens" => array(5 => 5, 10 => 10, 25 => 25, 50 => 50, ...), "defaultEllipsizeHeaderValue" => 30, ...), ...)) 70 if (!isset($aApplicationConfig['runtimePath'])) { 71 $aApplicationConfig['runtimePath'] = $baseConfig['tempdir'].DIRECTORY_SEPARATOR.'runtime'; 72 } /* No need to test runtimePath validity : Yii return an exception without issue */ 73 74 /* Construct CWebApplication */ 75 parent::__construct($aApplicationConfig); 76 77 /* Because we have app now : we have to call again the config (usage of Yii::app() for publicurl) */ 78 $this->setConfigs(); 79 80 /* Update asset manager path and url only if not directly set in aApplicationConfig (from config.php), |
#8 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/framework/YiiBase.php(125): LSYii_Application->__construct(array("basePath" => "/srv/vhost/labcoop.coop/home/html/enquestes/application", "name" => "LimeSurvey", "localeClass" => "LSYii_Locale", "defaultController" => "surveys", ...)) 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. |
#9 |
+
–
/srv/vhost/labcoop.coop/home/html/enquestes/index.php(194): YiiBase::createApplication("LSYii_Application", array("basePath" => "/srv/vhost/labcoop.coop/home/html/enquestes/application", "name" => "LimeSurvey", "localeClass" => "LSYii_Locale", "defaultController" => "surveys", ...)) 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |