/home/yamabush/yii/framework/web/CHttpRequest.php(88)
076 parent::init(); 077 $this->normalizeRequest(); 078 } 079 080 /** 081 * Normalizes the request data. 082 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. 083 * It also performs CSRF validation if {@link enableCsrfValidation} is true. 084 */ 085 protected function normalizeRequest() 086 { 087 // normalize request 088 if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) 089 { 090 if(isset($_GET)) 091 $_GET=$this->stripSlashes($_GET); 092 if(isset($_POST)) 093 $_POST=$this->stripSlashes($_POST); 094 if(isset($_REQUEST)) 095 $_REQUEST=$this->stripSlashes($_REQUEST); 096 if(isset($_COOKIE)) 097 $_COOKIE=$this->stripSlashes($_COOKIE); 098 } 099 100 if($this->enableCsrfValidation)
#0 |
+
–
/home/yamabush/yii/framework/web/CHttpRequest.php(77): CHttpRequest->normalizeRequest() 72 * the user request data. 73 */ 74 public function init() 75 { 76 parent::init(); 77 $this->normalizeRequest(); 78 } 79 80 /** 81 * Normalizes the request data. 82 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. |
#1 |
+
–
/home/yamabush/yii/framework/base/CModule.php(372): CHttpRequest->init() 367 if(!isset($config['enabled']) || $config['enabled']) 368 { 369 Yii::trace("Loading \"$id\" application component",'system.CModule'); 370 unset($config['enabled']); 371 $component=Yii::createComponent($config); 372 $component->init(); 373 return $this->_components[$id]=$component; 374 } 375 } 376 } 377 |
#2 |
+
–
/home/yamabush/yii/framework/base/CApplication.php(489): CModule->getComponent("request") 484 * Returns the request component. 485 * @return CHttpRequest the request component 486 */ 487 public function getRequest() 488 { 489 return $this->getComponent('request'); 490 } 491 492 /** 493 * Returns the URL manager component. 494 * @return CUrlManager the URL manager component |
#3 |
+
–
/home/yamabush/yii/framework/web/CWebApplication.php(593): CApplication->getRequest() 588 */ 589 protected function init() 590 { 591 parent::init(); 592 // preload 'request' so that it has chance to respond to onBeginRequest event. 593 $this->getRequest(); 594 } 595 } |
#4 |
+
–
/home/yamabush/yii/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 /** 146 * Runs the application. |
#5 |
+
–
/home/yamabush/yii/framework/YiiBase.php(118): CApplication->__construct(array("name" => "Kai Ken Registry", "preload" => array("log"), "import" => array("application.models.*", "application.components.*"), "modules" => array(), ...)) 113 * @return mixed the application instance 114 * @since 1.0.10 115 */ 116 public static function createApplication($class,$config=null) 117 { 118 return new $class($config); 119 } 120 121 /** 122 * Returns the application singleton, null if the singleton has not been created yet. 123 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#6 |
+
–
/home/yamabush/yii/framework/YiiBase.php(91): YiiBase::createApplication("CWebApplication", "/home/yamabush/public_html/apps/pedigree/protected/config/main.p...") 86 * which should point to the directory containing all application logic, template and data. 87 * If not, the directory will be defaulted to 'protected'. 88 */ 89 public static function createWebApplication($config=null) 90 { 91 return self::createApplication('CWebApplication',$config); 92 } 93 94 /** 95 * Creates a console application instance. 96 * @param mixed $config application configuration. |
#7 |
+
–
/home/yamabush/public_html/apps/pedigree/index.php(16): YiiBase::createWebApplication("/home/yamabush/public_html/apps/pedigree/protected/config/main.p...") 11 defined('YII_DEBUG') or define('YII_DEBUG',true); 12 // specify how many levels of call stack should be shown in each log message 13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 14 15 require_once($yii); 16 Yii::createWebApplication($config)->run(); |