Exception: FLEA_Exception_MissingController
Message: Controller "kkk" is missing.
Filename: /www/wwwroot/mdjxilong.com/LIBS/FLEA/FLEA/Dispatcher/Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('kkk', 'li06brhs4cwm5jobyshtml', 'Controller_kkk')
ARGS:
Array
(
[0] => kkk
[1] => li06brhs4cwm5jobyshtml
[2] => Controller_kkk
)
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: /www/wwwroot/mdjxilong.com/LIBS/FLEA/FLEA.php [816]
#2 FLEA_Dispatcher_Simple::dispatching()
ARGS:
Array
(
)
SOURCE CODE:
806 |
require_once($MVCPackageFilename);
|
807 |
}
|
808 |
FLEA::init();
|
809 |
|
810 |
// 载入调度器并转发请求到控制器
|
811 |
$dispatcherClass = FLEA::getAppInf('dispatcher');
|
812 |
FLEA::loadClass($dispatcherClass);
|
813 |
if($_GET['controller']=="index.php") unset($_GET['controller']);
|
814 |
$dispatcher = new $dispatcherClass($_GET);
|
815 |
FLEA::register($dispatcher, $dispatcherClass);
|
816 |
$dispatcher->dispatching();
|
817 |
}
|
818 |
|
819 |
/**
|
820 |
* 准备运行环境
|
821 |
*
|
822 |
* @param boolean $loadMVC
|
823 |
*/
|
824 |
function init($loadMVC = false)
|
825 |
{
|
826 |
static $firstTime = true;
|
Filename: /www/wwwroot/mdjxilong.com/index.php [51]
#1 FLEA::runMVC()
ARGS:
Array
(
)
SOURCE CODE:
41 |
'webControlsExtendsDir'=>ROOT.'/web/'.MYWEB.'/zcomm/Webcontrols',
|
42 |
'urlParameterPairStyle' => '/',
|
43 |
'controllerAccessor' =>'c',
|
44 |
'actionAccessor' =>'a',
|
45 |
'defaultAction' =>'index',
|
46 |
'defaultController' =>'Main',
|
47 |
);
|
48 |
FLEA::loadAppInf($appinf);
|
49 |
FLEA::setAppInf('autoLoad',array('FLEA_Helper_Array','FLEA_Language','Helper','Common'));
|
50 |
FLEA::setAppInf('displayErrors',true);
|
51 |
FLEA::runMVC();
|
52 |
?> |