/var/www/grynhygiene/data/www/framework/yiilite.php(3218)
3206 if($this->getUrlFormat()===self::PATH_FORMAT) 3207 { 3208 $rawPathInfo=$request->getPathInfo(); 3209 $pathInfo=$this->removeUrlSuffix($rawPathInfo,$this->urlSuffix); 3210 foreach($this->_rules as $i=>$rule) 3211 { 3212 if(is_array($rule)) 3213 $this->_rules[$i]=$rule=Yii::createComponent($rule); 3214 if(($r=$rule->parseUrl($this,$request,$pathInfo,$rawPathInfo))!==false) 3215 return isset($_GET[$this->routeVar]) ? $_GET[$this->routeVar] : $r; 3216 } 3217 if($this->useStrictParsing) 3218 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 3219 array('{route}'=>$pathInfo))); 3220 else 3221 return $pathInfo; 3222 } 3223 elseif(isset($_GET[$this->routeVar])) 3224 return $_GET[$this->routeVar]; 3225 elseif(isset($_POST[$this->routeVar])) 3226 return $_POST[$this->routeVar]; 3227 else 3228 return ''; 3229 } 3230 public function parsePathInfo($pathInfo)
#0 |
+
–
/var/www/grynhygiene/data/www/framework/yiilite.php(1694): CUrlManager->parseUrl(CHttpRequest) 1689 $route=$this->catchAllRequest[0]; 1690 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1691 $_GET[$name]=$value; 1692 } 1693 else 1694 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1695 $this->runController($route); 1696 } 1697 protected function registerCoreComponents() 1698 { 1699 parent::registerCoreComponents(); |
#1 |
+
–
/var/www/grynhygiene/data/www/framework/yiilite.php(1212): CWebApplication->processRequest() 1207 public function run() 1208 { 1209 if($this->hasEventHandler('onBeginRequest')) 1210 $this->onBeginRequest(new CEvent($this)); 1211 register_shutdown_function(array($this,'end'),0,false); 1212 $this->processRequest(); 1213 if($this->hasEventHandler('onEndRequest')) 1214 $this->onEndRequest(new CEvent($this)); 1215 } 1216 public function end($status=0,$exit=true) 1217 { |
#2 |
+
–
/var/www/grynhygiene/data/www/grynhygiene.ru/index.php(6): CApplication->run() 1 <?php 2 3 require_once( __DIR__ . '/../app/config/settings.php' ); 4 require_once( __DIR__ . '/../framework/yiilite.php'); 5 6 Yii::createWebApplication( __DIR__ . '/../app/config/frontend.php' )->run(); |