/var/www/vhosts/auratradecompany.com/tutto.uz/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 |
+
–
/var/www/vhosts/auratradecompany.com/tutto.uz/framework/web/CWebApplication.php(140): CUrlManager->parseUrl(SHttpRequest) 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/vhosts/auratradecompany.com/tutto.uz/framework/base/CApplication.php(184): CWebApplication->processRequest() 179 public function run() 180 { 181 if($this->hasEventHandler('onBeginRequest')) 182 $this->onBeginRequest(new CEvent($this)); 183 register_shutdown_function(array($this,'end'),0,false); 184 $this->processRequest(); 185 if($this->hasEventHandler('onEndRequest')) 186 $this->onEndRequest(new CEvent($this)); 187 } 188 189 /** |
#2 |
+
–
/var/www/vhosts/auratradecompany.com/tutto.uz/index.php(19): CApplication->run() 14 require $yii; 15 require 'protected/components/SWebApplication.php'; 16 require dirname(__FILE__) . '/functions.php'; 17 18 // Create application 19 Yii::createApplication('SWebApplication', $config)->run(); |