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