Exception: FLEA_Exception_MissingAction
Message: 缺少控制器方法 "Default::sou()".
Filename: /usr/www/www.hitraders.com/Libs/FLEA/FLEA/Dispatcher/Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('Default', 'sou', 'Controller_Default')
ARGS:
Array
(
[0] => Default
[1] => sou
[2] => Controller_Default
)
SOURCE CODE:
| 67 |
|
| 68 |
/**
|
| 69 |
* 从请求中分析 Controller、Action 和 Package 名字,然后执行指定的 Action 方法
|
| 70 |
*
|
| 71 |
* @return mixed
|
| 72 |
*/
|
| 73 |
function dispatching()
|
| 74 |
{
|
| 75 |
$controllerName = $this->getControllerName();
|
| 76 |
$actionName = $this->getActionName();
|
| 77 |
return $this->_executeAction($controllerName, $actionName, $this->getControllerClass($controllerName));
|
| 78 |
}
|
| 79 |
|
| 80 |
/**
|
| 81 |
* 执行指定的 Action 方法
|
| 82 |
*
|
| 83 |
* @param string $controllerName
|
| 84 |
* @param string $actionName
|
| 85 |
* @param string $controllerClass
|
| 86 |
*
|
| 87 |
* @return mixed
|
Filename: /usr/www/www.hitraders.com/Libs/FLEA/FLEA.php [803]
#2 FLEA_Dispatcher_Simple::dispatching()
ARGS:
Array
(
)
SOURCE CODE:
| 793 |
require_once($MVCPackageFilename);
|
| 794 |
}
|
| 795 |
FLEA::init();
|
| 796 |
|
| 797 |
// 载入调度器并转发请求到控制器
|
| 798 |
$dispatcherClass = FLEA::getAppInf('dispatcher');
|
| 799 |
FLEA::loadClass($dispatcherClass);
|
| 800 |
|
| 801 |
$dispatcher =& new $dispatcherClass($_GET);
|
| 802 |
FLEA::register($dispatcher, $dispatcherClass);
|
| 803 |
$dispatcher->dispatching();
|
| 804 |
}
|
| 805 |
|
| 806 |
/**
|
| 807 |
* 准备运行环境
|
| 808 |
*
|
| 809 |
* @param boolean $loadMVC
|
| 810 |
*/
|
| 811 |
function init($loadMVC = false)
|
| 812 |
{
|
| 813 |
static $firstTime = true;
|
Filename: /usr/www/www.hitraders.com/index.php [28]
#1 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
| 18 |
'compile_dir' => APP_ROOT . '/Caches/Templates_c',
|
| 19 |
'config_dir' => APP_ROOT . '/Caches/Configs',
|
| 20 |
'cache_dir' => APP_ROOT . '/Caches/Cache',
|
| 21 |
'left_delimiter' => '<!--{',
|
| 22 |
'right_delimiter' => '}-->',
|
| 23 |
);
|
| 24 |
|
| 25 |
FLEA::setAppInf('viewConfig',$viewConfig);
|
| 26 |
FLEA::setAppInf('controllerAccessor','c');
|
| 27 |
FLEA::import(APP_ROOT . '/App');
|
| 28 |
FLEA::runMVC();
|
| 29 |
?> |