類定義不存在,請檢查。
- /data/user/htdocs/include/Functions.php on line 81
76.
return unserialize(substr($arg_data, 24));
77.
}
78.
}
79.
80.
function syClass($class_name, $args = null, $sdir = null, $force_inst = FALSE){
81.
82.
if(preg_match("/^[a-zA-Z0-9_\-]*$/",$class_name)==0)syError("類定義不存在,請檢查。");
if(TRUE != $force_inst)if(isset($GLOBALS['G_DY']["inst_class"][$class_name]))return $GLOBALS['G_DY']["inst_class"][$class_name];
83.
if(null != $sdir && !import($sdir) && !import($sdir.'/'.$class_name.'.php'))return FALSE;
84.
$has_define = FALSE;
85.
if(class_exists($class_name, false) || interface_exists($class_name, false)){
86.
$has_define = TRUE;
- /data/user/htdocs/include/Functions.php on line 11
6.
syError('route Error');
7.
exit;
8.
}
9.
syClass('sysession');
10.
spLaunch("router_prefilter");
11.
12.
$handle_controller = syClass($__controller, null, $GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
13.
syError('route Error');
14.
exit;
15.
}
16.
$handle_controller->$__action();
- /data/user/htdocs/index.php on line 5
1.
<?php
2.
require("config.php");
3.
$doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
4.
require(DOYO_PATH."/sys.php");
5.
spRun();