/home/bitrix/ext_www/academy.oetker.ru/local/order21/framework/web/CHttpRequest.php(120)
108 parent::init(); 109 $this->normalizeRequest(); 110 } 111 112 /** 113 * Normalizes the request data. 114 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. 115 * It also performs CSRF validation if {@link enableCsrfValidation} is true. 116 */ 117 protected function normalizeRequest() 118 { 119 // normalize request 120 if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) 121 { 122 if(isset($_GET)) 123 $_GET=$this->stripSlashes($_GET); 124 if(isset($_POST)) 125 $_POST=$this->stripSlashes($_POST); 126 if(isset($_REQUEST)) 127 $_REQUEST=$this->stripSlashes($_REQUEST); 128 if(isset($_COOKIE)) 129 $_COOKIE=$this->stripSlashes($_COOKIE); 130 } 131 132 if($this->enableCsrfValidation)
#0 |
+
–
/home/bitrix/ext_www/academy.oetker.ru/local/order21/framework/web/CHttpRequest.php(109): CHttpRequest->normalizeRequest() 104 * the user request data. 105 */ 106 public function init() 107 { 108 parent::init(); 109 $this->normalizeRequest(); 110 } 111 112 /** 113 * Normalizes the request data. 114 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. |
#1 |
+
–
/home/bitrix/ext_www/academy.oetker.ru/local/order21/framework/base/CModule.php(173): CHttpRequest->init() 168 if(!isset($config['enabled']) || $config['enabled']) 169 { 170 Yii::trace("Loading \"$id\" application component",'system.CModule'); 171 unset($config['enabled']); 172 $component=Yii::createComponent($config); 173 $component->init(); 174 return $this->_components[$id]=$component; 175 } 176 } 177 } 178 |
#2 |
+
–
/home/bitrix/ext_www/academy.oetker.ru/local/order21/framework/base/CApplication.php(558): CModule->getComponent("request") 553 * Returns the request component. 554 * @return CHttpRequest the request component 555 */ 556 public function getRequest() 557 { 558 return $this->getComponent('request'); 559 } 560 561 /** 562 * Returns the relative URL for the application. 563 * This is a shortcut method to {@link CHttpRequest::getBaseUrl()}. |
#3 |
+
–
/home/bitrix/ext_www/academy.oetker.ru/local/order21/framework/web/CWebApplication.php(546): CApplication->getRequest() 541 */ 542 protected function init() 543 { 544 parent::init(); 545 // preload 'request' so that it has chance to respond to onBeginRequest event. 546 $this->getRequest(); 547 } 548 } |
#4 |
+
–
/home/bitrix/ext_www/academy.oetker.ru/local/order21/framework/base/CApplication.php(141): CWebApplication->init() 136 137 $this->configure($config); 138 $this->attachBehaviors($this->behaviors); 139 $this->preloadComponents(); 140 141 $this->init(); 142 } 143 144 /** 145 * Returns the root path of the application. 146 * @return string the root directory of the application. Defaults to 'protected'. |
#5 |
+
–
/home/bitrix/ext_www/academy.oetker.ru/local/order21/framework/YiiBase.php(127): CApplication->__construct(array("import" => array("application.models.*", "application.components.*", "application.components.helpers.*"), "modules" => array("gii" => array("class" => "system.gii.GiiModule", "password" => "1234", "ipFilters" => array("127.0.0.1", "academy.oetker.ru"), "generatorPaths" => array("ext.giiDictionary"))), "components" => array("errorHandler" => array("errorAction" => "site/error"), "file" => array("class" => "ext.file.CFile"), "mail" => array("class" => "mail.extensions.yii-mail.YiiMail"), "urlManager" => array("class" => "CUrlManager", "urlFormat" => "path", "showScriptName" => false, "rules" => array("/" => "site/index", "make-order" => "site/makeOrder", "<module>/<controller:\w+>/<id:\d+>" => "<module>/<controller>/view", "<module>/<controller:\w+>/<action:\w+>/<id:\d+>" => "<module>/<controller>/<action>", ...)), ...), "behaviors" => array("runEnd" => array("class" => "application.components.behaviors.WebApplicationEndBehavior")), ...)) 122 * to the constructor of the application class. 123 * @return mixed the application instance 124 */ 125 public static function createApplication($class,$config=null) 126 { 127 return new $class($config); 128 } 129 130 /** 131 * Returns the application singleton, null if the singleton has not been created yet. 132 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#6 |
+
–
/home/bitrix/ext_www/academy.oetker.ru/local/order21/framework/YiiBase.php(100): YiiBase::createApplication("CWebApplication", "/home/bitrix/ext_www/academy.oetker.ru/local/order21/protected/c...") 095 * If not, the directory will be defaulted to 'protected'. 096 * @return CWebApplication 097 */ 098 public static function createWebApplication($config=null) 099 { 100 return self::createApplication('CWebApplication',$config); 101 } 102 103 /** 104 * Creates a console application instance. 105 * @param mixed $config application configuration. |
#7 |
+
–
/home/bitrix/ext_www/academy.oetker.ru/local/order21/index.php(11): YiiBase::createWebApplication("/home/bitrix/ext_www/academy.oetker.ru/local/order21/protected/c...") 06 07 $yii = dirname(__FILE__) . '/framework/yii.php'; 08 $config = dirname(__FILE__) . '/protected/config/development_front.php'; 09 10 require_once($yii); 11 Yii::createWebApplication($config)->runEnd('front'); |