c_类定义不存在,请检查。
- /www/wwwroot/pyzhongtai.com/include/Functions.php on line 258
253.
$argString = '';$comma = '';
254.
if(null != $args)for ($i = 0; $i < count($args); $i ++) { $argString .= $comma . "\$args[$i]"; $comma = ', ';}
255.
eval("\$GLOBALS['G_DY']['inst_class'][\$class_name]= new \$class_name($argString);");
256.
return $GLOBALS['G_DY']["inst_class"][$class_name];
257.
}
258.
259.
syError($class_name."类定义不存在,请检查。");
}
260.
function curl_get($url) {
261.
$ch = curl_init();
262.
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
263.
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- /www/wwwroot/pyzhongtai.com/source/channel.php on line 24
19.
}
20.
}
21.
return $result;
22.
}
23.
function index(){
24.
25.
$this->Class=syClass('c_'.$this->molds);
if($this->syArgs('file',1)!=''){
26.
$this->channel=syDB($this->molds)->findSql('select * from '.$this->db.' a left join '.$this->db.'_field b on (a.id=b.aid) where (htmlfile="'.$this->syArgs('file',1).'" or id='.$this->syArgs('file').') and isshow=1 limit 1');
27.
$id = $this->channel['id'];
28.
}else{
29.
$id = $this->syArgs('id');
- /www/wwwroot/pyzhongtai.com/include/Functions.php on line 16
11.
$handle_controller = syClass($__controller, null, $GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
12.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
13.
syError('route Error');
14.
exit;
15.
}
16.
17.
$handle_controller->$__action();
if(FALSE != $GLOBALS['G_DY']['view']['auto_display']){
18.
$__tplname = $__controller.$GLOBALS['G_DY']['view']['auto_display_sep'].
19.
$__action.$GLOBALS['G_DY']['view']['auto_display_suffix'];
20.
$handle_controller->auto_display($__tplname);
21.
}
- /www/wwwroot/pyzhongtai.com/index.php on line 6
1.
<?php
2.
require("config.php");
3.
//下面是判断语句
4.
$doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
5.
require(DOYO_PATH."/sys.php");
6.
spRun();