类定义不存在,请检查。
- D:\wwwroot\galonchina\wwwroot\include\Functions.php on line 101
96.
return unserialize(substr($arg_data, 24));
97.
}
98.
}
99.
100.
function syClass($class_name, $args = null, $sdir = null, $force_inst = FALSE){
101.
102.
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];
103.
if(null != $sdir && !import($sdir) && !import($sdir.'/'.$class_name.'.php'))return FALSE;
104.
$has_define = FALSE;
105.
if(class_exists($class_name, false) || interface_exists($class_name, false)){
106.
$has_define = TRUE;
- D:\wwwroot\galonchina\wwwroot\include\Functions.php on line 7
2.
if(!defined('APP_PATH')||!defined('DOYO_PATH')){exit('Access Denied');}
3.
function spRun(){
4.
GLOBAL $__controller, $__action;
5.
syClass('sysession');
6.
spLaunch("router_prefilter");
7.
8.
$handle_controller = syClass($__controller, null, $GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
9.
syError('route Error');
10.
exit;
11.
}
12.
$handle_controller->$__action();
- D:\wwwroot\galonchina\wwwroot\index.php on line 6
1.
<?php
2.
3.
require("config.php");
4.
$doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
5.
require(DOYO_PATH."/sys.php");
6.
spRun();