/srv/vhosts/ymtcps.edu.hk/yii-1.1.21.733ac5/framework/yiilite.php(1803)
1791 public function runController($route) 1792 { 1793 if(($ca=$this->createController($route))!==null) 1794 { 1795 list($controller,$actionID)=$ca; 1796 $oldController=$this->_controller; 1797 $this->_controller=$controller; 1798 $controller->init(); 1799 $controller->run($actionID); 1800 $this->_controller=$oldController; 1801 } 1802 else 1803 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1804 array('{route}'=>$route===''?$this->defaultController:$route))); 1805 } 1806 public function createController($route,$owner=null) 1807 { 1808 if($owner===null) 1809 $owner=$this; 1810 if((array)$route===$route || ($route=trim($route,'/'))==='') 1811 $route=$owner->defaultController; 1812 $caseSensitive=$this->getUrlManager()->caseSensitive; 1813 $route.='/'; 1814 while(($pos=strpos($route,'/'))!==false) 1815 {
#0 |
+
–
/srv/vhosts/ymtcps.edu.hk/yii-1.1.21.733ac5/framework/yiilite.php(1719): CWebApplication->runController() 1714 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1715 $_GET[$name]=$value; 1716 } 1717 else 1718 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1719 $this->runController($route); 1720 } 1721 protected function registerCoreComponents() 1722 { 1723 parent::registerCoreComponents(); 1724 $components=array( |
#1 |
+
–
/srv/vhosts/ymtcps.edu.hk/yii-1.1.21.733ac5/framework/yiilite.php(1236): CWebApplication->processRequest() 1231 public function run() 1232 { 1233 if($this->hasEventHandler('onBeginRequest')) 1234 $this->onBeginRequest(new CEvent($this)); 1235 register_shutdown_function(array($this,'end'),0,false); 1236 $this->processRequest(); 1237 if($this->hasEventHandler('onEndRequest')) 1238 $this->onEndRequest(new CEvent($this)); 1239 } 1240 public function end($status=0,$exit=true) 1241 { |
#2 |
+
–
/srv/vhosts/ymtcps.edu.hk/httpdocs/index.php(15): CApplication->run() 10 defined('YII_DEBUG') or define('YII_DEBUG',true); 11 // specify how many levels of call stack should be shown in each log message 12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 13 14 require_once($yii); 15 Yii::createWebApplication($config)->run(); |