/home/bw6sgx3epz3c/bwiz.com.sg/framework/web/CHttpRequest.php(124)
112 parent::init(); 113 $this->normalizeRequest(); 114 } 115 116 /** 117 * Normalizes the request data. 118 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. 119 * It also performs CSRF validation if {@link enableCsrfValidation} is true. 120 */ 121 protected function normalizeRequest() 122 { 123 // normalize request 124 if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) 125 { 126 if(isset($_GET)) 127 $_GET=$this->stripSlashes($_GET); 128 if(isset($_POST)) 129 $_POST=$this->stripSlashes($_POST); 130 if(isset($_REQUEST)) 131 $_REQUEST=$this->stripSlashes($_REQUEST); 132 if(isset($_COOKIE)) 133 $_COOKIE=$this->stripSlashes($_COOKIE); 134 } 135 136 if($this->enableCsrfValidation)
#0 |
+
–
/home/bw6sgx3epz3c/bwiz.com.sg/framework/web/CHttpRequest.php(113): CHttpRequest->normalizeRequest() 108 * the user request data. 109 */ 110 public function init() 111 { 112 parent::init(); 113 $this->normalizeRequest(); 114 } 115 116 /** 117 * Normalizes the request data. 118 * This method strips off slashes in request data if get_magic_quotes_gpc() returns true. |
#1 |
+
–
/home/bw6sgx3epz3c/bwiz.com.sg/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 |
#2 |
+
–
/home/bw6sgx3epz3c/bwiz.com.sg/framework/base/CApplication.php(521): CModule->getComponent("request") 516 * Returns the request component. 517 * @return CHttpRequest the request component 518 */ 519 public function getRequest() 520 { 521 return $this->getComponent('request'); 522 } 523 524 /** 525 * Returns the URL manager component. 526 * @return CUrlManager the URL manager component |
#3 |
+
–
/home/bw6sgx3epz3c/bwiz.com.sg/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/bw6sgx3epz3c/bwiz.com.sg/framework/base/CApplication.php(169): CWebApplication->init() 164 165 $this->configure($config); 166 $this->attachBehaviors($this->behaviors); 167 $this->preloadComponents(); 168 169 $this->init(); 170 } 171 172 173 /** 174 * Runs the application. |
#5 |
+
–
/home/bw6sgx3epz3c/bwiz.com.sg/framework/YiiBase.php(125): CApplication->__construct(array("name" => "B-Wiz Partners", "theme" => "frontend", "preload" => array("log", "bootstrap"), "import" => array("application.models.*", "application.components.*"), ...)) 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/bw6sgx3epz3c/bwiz.com.sg/framework/YiiBase.php(98): YiiBase::createApplication("CWebApplication", "/home/bw6sgx3epz3c/bwiz.com.sg/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/bw6sgx3epz3c/bwiz.com.sg/index.php(13): YiiBase::createWebApplication("/home/bw6sgx3epz3c/bwiz.com.sg/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(); |