/data1/vhosts/api.news.leju.com/htdocs/framework/dispatcher.php(236)
233 $classPath = _APP_ . $appName . "/" . $controllerName . ".php"; 234 if (!file_exists($classPath)) { 235 $page_path = "{$page_path}|{$appName}/{$controllerName}/{$actionName}"; 236 throw new Leb_Exception('Error 404, error page not found!' . $page_path, 404); 237 } 238 // 转发 239 $this->setAppName($appName);
#0 |
+
-
/data1/vhosts/api.news.leju.com/htdocs/framework/dispatcher.php(212):Leb_Dispatcher->dispatch("sitemap.xml","default","index",array(),Leb_Dispatcher) 209 $appPath = $plugins->getAppName(); 210 $controllerName = $plugins->getControllerName(); 211 $actionName = $plugins->getActionName(); 212 $this->dispatch($appPath, $controllerName, $actionName, array(), $plugins); 213 return $plugins; 214 } 215 |
#1 |
+
-
/data1/vhosts/api.news.leju.com/htdocs/framework/plugin/abstract.php(246):Leb_Dispatcher->_afterLaunch(Leb_Dispatcher) 243 244 // 3:把自己通过插件过滤出去 245 if (!$this->getEnv('disAllowRun')) { 246 $this->_afterLaunch($result); 247 } 248 249 //显示调试信息 |
#2 |
+
-
/data1/vhosts/api.news.leju.com/htdocs/framework/plugin/broker/abstract.php(46):Leb_Plugin_Abstract->run(Leb_Request) 43 $result = null; 44 foreach ($plugins as $plugin) { 45 // 加工厂,把前面一个插件运行的结果传递给后面 46 $result = $plugin->run($result); 47 // 把前面的结果保存在运行对象里供后续使用 48 if (($result instanceof Leb_Plugin_Abstract)) { 49 $this->setRunner($result->getAlias(), $result); |
#3 |
+
-
/data1/vhosts/api.news.leju.com/htdocs/framework/controller.php(60):Leb_Plugin_Broker_Abstract->execute(array('Leb_Request'=>array(),'Leb_Dispatcher'=>array())) 57 ); 58 59 // MVC 完毕 60 $result = parent::execute($myPlugins); 61 return $result; 62 } 63 |
#4 |
+
-
/data1/vhosts/api.news.leju.com/htdocs/framework/plugin/abstract.php(242):Leb_Controller->execute(null) 239 } 240 241 // 2:把plugins传给本类进行加工 242 $result = $this->execute($plugins); 243 244 // 3:把自己通过插件过滤出去 245 if (!$this->getEnv('disAllowRun')) { |
#5 |
+
-
/data1/vhosts/api.news.leju.com/htdocs/index.php(17):Leb_Plugin_Abstract->run() 14//请求->路由->过滤->分发->响应 15 16$controller = Leb_Controller::getInstance(); 17$controller->run(); 18 |