/home/admin/web/ancard.ru/public_html/framework/web/CUrlManager.php(374)
362 if($this->getUrlFormat()===self::PATH_FORMAT) 363 { 364 $rawPathInfo=$request->getPathInfo(); 365 $pathInfo=$this->removeUrlSuffix($rawPathInfo,$this->urlSuffix); 366 foreach($this->_rules as $i=>$rule) 367 { 368 if(is_array($rule)) 369 $this->_rules[$i]=$rule=Yii::createComponent($rule); 370 if(($r=$rule->parseUrl($this,$request,$pathInfo,$rawPathInfo))!==false) 371 return isset($_GET[$this->routeVar]) ? $_GET[$this->routeVar] : $r; 372 } 373 if($this->useStrictParsing) 374 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 375 array('{route}'=>$pathInfo))); 376 else 377 return $pathInfo; 378 } 379 elseif(isset($_GET[$this->routeVar])) 380 return $_GET[$this->routeVar]; 381 elseif(isset($_POST[$this->routeVar])) 382 return $_POST[$this->routeVar]; 383 else 384 return ''; 385 } 386
#0 |
+
–
/home/admin/web/ancard.ru/public_html/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 |
+
–
/home/admin/web/ancard.ru/public_html/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 |
+
–
/home/admin/web/ancard.ru/public_html/index.php(7): CApplication->run() 2 // include Yii bootstrap file 3 defined('YII_DEBUG') or define('YII_DEBUG',true); 4 require_once(dirname(__FILE__).'/framework/yii.php'); 5 $config=dirname(__FILE__).'/protected/config/frontend.php'; 6 // create a Web application instance and run 7 Yii::createWebApplication($config)->run(); 8 ?> |