/home/dobrosakha/dobrosakha.ru/docs/old/framework/web/CHttpRequest.php(119)
107 parent::init(); 108 $this->normalizeRequest(); 109 } 110 111 /** 112 * Normalizes the request data. 113 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. 114 * It also performs CSRF validation if {@link enableCsrfValidation} is true. 115 */ 116 protected function normalizeRequest() 117 { 118 // normalize request 119 if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) 120 { 121 if(isset($_GET)) 122 $_GET=$this->stripSlashes($_GET); 123 if(isset($_POST)) 124 $_POST=$this->stripSlashes($_POST); 125 if(isset($_REQUEST)) 126 $_REQUEST=$this->stripSlashes($_REQUEST); 127 if(isset($_COOKIE)) 128 $_COOKIE=$this->stripSlashes($_COOKIE); 129 } 130 131 if($this->enableCsrfValidation)
#0 |
+
–
/home/dobrosakha/dobrosakha.ru/docs/old/framework/web/CHttpRequest.php(108): CHttpRequest->normalizeRequest() 103 * the user request data. 104 */ 105 public function init() 106 { 107 parent::init(); 108 $this->normalizeRequest(); 109 } 110 111 /** 112 * Normalizes the request data. 113 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. |
#1 |
+
–
/home/dobrosakha/dobrosakha.ru/docs/old/framework/base/CModule.php(387): CHttpRequest->init() 382 if(!isset($config['enabled']) || $config['enabled']) 383 { 384 Yii::trace("Loading \"$id\" application component",'system.CModule'); 385 unset($config['enabled']); 386 $component=Yii::createComponent($config); 387 $component->init(); 388 return $this->_components[$id]=$component; 389 } 390 } 391 } 392 |
#2 |
+
–
/home/dobrosakha/dobrosakha.ru/docs/old/framework/base/CApplication.php(501): CModule->getComponent("request") 496 * Returns the request component. 497 * @return CHttpRequest the request component 498 */ 499 public function getRequest() 500 { 501 return $this->getComponent('request'); 502 } 503 504 /** 505 * Returns the URL manager component. 506 * @return CUrlManager the URL manager component |
#3 |
+
–
/home/dobrosakha/dobrosakha.ru/docs/old/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 } |
#4 |
+
–
/home/dobrosakha/dobrosakha.ru/docs/old/framework/base/CApplication.php(154): CWebApplication->init() 149 150 $this->configure($config); 151 $this->attachBehaviors($this->behaviors); 152 $this->preloadComponents(); 153 154 $this->init(); 155 } 156 157 158 /** 159 * Runs the application. |
#5 |
+
–
/home/dobrosakha/dobrosakha.ru/docs/old/framework/YiiBase.php(125): CApplication->__construct(array("name" => "Под флагом «Милосердия»", "language" => "ru", "preload" => array("log"), "import" => array("application.models.*", "application.components.*", "application.modules.admin.*", "application.extensions.tinyMce.*"), ...)) 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 |
+
–
/home/dobrosakha/dobrosakha.ru/docs/old/framework/YiiBase.php(98): YiiBase::createApplication("CWebApplication", "/home/dobrosakha/dobrosakha.ru/docs/old/protected/config/main.ph...") 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 |
+
–
/home/dobrosakha/dobrosakha.ru/docs/old/index.php(13): YiiBase::createWebApplication("/home/dobrosakha/dobrosakha.ru/docs/old/protected/config/main.ph...") 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |