/home/gourmetsusr/public_html/yii/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/gourmetsusr/public_html/yii/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 |
+
–
/home/gourmetsusr/public_html/yii/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 |
+
–
/home/gourmetsusr/public_html/yii/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 |
+
–
/home/gourmetsusr/public_html/yii/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/gourmetsusr/public_html/yii/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 |
+
–
/home/gourmetsusr/public_html/yii/YiiBase.php(125): CApplication->__construct(array("name" => "Pedidos - Administración", "preload" => array("log"), "import" => array("application.models.*", "application.components.*", "application.extensions.*", "ext.giix-components.*"), "modules" => array("gii" => array("class" => "system.gii.GiiModule", "password" => "links", "ipFilters" => array("127.0.0.1", "::1"), "generatorPaths" => array("ext.giix-core"))), ...)) 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/gourmetsusr/public_html/yii/YiiBase.php(98): YiiBase::createApplication("CWebApplication", "/home/gourmetsusr/public_html/pedidos/protected/config/main.php") 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/gourmetsusr/public_html/pedidos/index.php(13): YiiBase::createWebApplication("/home/gourmetsusr/public_html/pedidos/protected/config/main.php") 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(); |