/var/www/user5997374/data/www/framework/web/CUrlManager.php(376)
364 if($this->getUrlFormat()===self::PATH_FORMAT) 365 { 366 $rawPathInfo=$request->getPathInfo(); 367 $pathInfo=$this->removeUrlSuffix($rawPathInfo,$this->urlSuffix); 368 foreach($this->_rules as $i=>$rule) 369 { 370 if(is_array($rule)) 371 $this->_rules[$i]=$rule=Yii::createComponent($rule); 372 if(($r=$rule->parseUrl($this,$request,$pathInfo,$rawPathInfo))!==false) 373 return isset($_GET[$this->routeVar]) ? $_GET[$this->routeVar] : $r; 374 } 375 if($this->useStrictParsing) 376 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 377 array('{route}'=>$pathInfo))); 378 else 379 return $pathInfo; 380 } 381 elseif(isset($_GET[$this->routeVar])) 382 return $_GET[$this->routeVar]; 383 elseif(isset($_POST[$this->routeVar])) 384 return $_POST[$this->routeVar]; 385 else 386 return ''; 387 } 388
#0 |
+
–
/var/www/user5997374/data/www/framework/web/CWebApplication.php(140): CUrlManager->parseUrl(CHttpRequest) 135 $route=$this->catchAllRequest[0]; 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. |
#1 |
+
–
/var/www/user5997374/data/www/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#2 |
+
–
/var/www/user5997374/data/www/webmaster-kmv.ru/index.php(20): CApplication->run() 15 ini_set('display_errors','On'); 16 error_reporting(E_ALL); 17 } 18 19 require_once($yii); 20 Yii::createWebApplication($config)->run(); |