Exception: FLEA_Exception_MissingController
Message: 缺少控制器 "Case".
Filename: /var/www/html/www/lib/FLEA/FLEA/Dispatcher/Simple.php [77]
#4 FLEA_Dispatcher_Simple::_executeAction('Case', 'index', 'controller_Case')
ARGS:
Array
(
[0] => Case
[1] => index
[2] => controller_Case
)
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: /var/www/html/www/lib/FLEA/FLEA.php [815]
#3 FLEA_Dispatcher_Simple::dispatching()
ARGS:
Array
(
)
SOURCE CODE:
805 |
require_once ($MVCPackageFilename);
|
806 |
}
|
807 |
FLEA::init ();
|
808 |
|
809 |
// 載入調度器并轉發請求到控制器
|
810 |
$dispatcherClass = FLEA::getAppInf ( 'dispatcher' );
|
811 |
FLEA::loadClass ( $dispatcherClass );
|
812 |
|
813 |
$dispatcher = & new $dispatcherClass ( $_GET );
|
814 |
FLEA::register ( $dispatcher, $dispatcherClass );
|
815 |
$dispatcher->dispatching ();
|
816 |
}
|
817 |
|
818 |
/**
|
819 |
* 準備運行環境
|
820 |
*
|
821 |
* @param boolean $loadMVC
|
822 |
*/
|
823 |
function init($loadMVC = false) {
|
824 |
static $firstTime = true;
|
825 |
|
Filename: /var/www/html/www/lib/FLEA/FLEA/Compatibility.php [263]
#2 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
253 |
FLEA::init();
|
254 |
}
|
255 |
|
256 |
/**
|
257 |
* FLEA 應用程序入口(已經過時,用 FLEA::runMVC() 代替)
|
258 |
*
|
259 |
* @deprecated
|
260 |
*/
|
261 |
function run()
|
262 |
{
|
263 |
FLEA::runMVC();
|
264 |
}
|
265 |
|
266 |
/**
|
267 |
* 初始化 Ajax,返回 FLEA_Ajax 對象實例(已經過時,用 FLEA::initAjax() 代替)
|
268 |
*
|
269 |
* @return FLEA_Ajax
|
270 |
* @deprecated
|
271 |
*/
|
272 |
function & init_ajax()
|
273 |
{
|
Filename: /var/www/html/www/index.php [39]
#1 run()
ARGS:
Array
(
)
SOURCE CODE:
29 |
)
|
30 |
*/
|
31 |
);
|
32 |
//FLEA::setAppInf('urlMode', URL_REWRITE);
|
33 |
FLEA::setAppInf('controllerAccessor', 'c');
|
34 |
FLEA::setAppInf('actionAccessor', 'a');
|
35 |
|
36 |
FLEA::loadAppInf(APP.'config/smarty_config.php');
|
37 |
FLEA::import(APP);
|
38 |
FLEA::init();
|
39 |
run();
|
40 |
?>
|