datas.php?Controller类名称错误,请检查。
- /data/home/qxu1780870382/htdocs/JedooPHP/JFunctions.php on line 167
162.
* @param registerGlobal 是否自动注册为全局对象(重新实例化)
163.
*/
164.
function JLoadClass($className, $args = null, $searchDir = null, $registerGlobal = true){
165.
// 检查类名称是否正确,以保证类定义文件载入的安全性
166.
if(preg_match('/[^a-z0-9\-_.]/i', $className)) {
167.
168.
JError($className."类名称错误,请检查。");
}
169.
170.
// 检查类是否已经实例化
171.
if($registerGlobal && isset($GLOBALS['G_JCONFIG']["class_instances"][$className])){
172.
return $GLOBALS['G_JCONFIG']["class_instances"][$className];
- /data/home/qxu1780870382/htdocs/JedooPHP/JFunctions.php on line 21
16.
17.
// 对路由进行自动执行相关操作($__controller, $__action处理)
18.
JInject("router_prefilter");
19.
20.
// 对将要访问的控制器类进行实例化
21.
22.
$__handle_controller = JLoadClass($__controller.$GLOBALS['G_JCONFIG']['controller_name_suffix'], null, $GLOBALS['G_JCONFIG']['controllers_dir'].'/'.$__controller.".php");
$__actionFunc = $__action.$GLOBALS['G_JCONFIG']['action_name_suffix'];
23.
24.
// 调用控制器出错将调用路由错误处理函数
25.
if(!is_object($__handle_controller) || !method_exists($__handle_controller, $__actionFunc)){
26.
eval($GLOBALS['G_JCONFIG']["dispatcher_error"]);
- /data/home/qxu1780870382/htdocs/index.php on line 69
64.
if(count($server_info) > 1) {
65.
$server_domain = $server_info[count($server_info)-2];
66.
define('DOMAIN', $server_domain);
67.
}
68.
69.
70.
JStart();
?>