c_cctv類定義不存在,請檢查。
- D:\wwwroot\newXingHu\wwwroot\include\Functions.php on line 98
93.
$argString = '';$comma = '';
94.
if(null != $args)for ($i = 0; $i < count($args); $i ++) { $argString .= $comma . "\$args[$i]"; $comma = ', ';}
95.
eval("\$GLOBALS['G_TL']['inst_class'][\$class_name]= new \$class_name($argString);");
96.
return $GLOBALS['G_TL']["inst_class"][$class_name];
97.
}
98.
99.
syError($class_name."類定義不存在,請檢查。");
}
100.
function curl_get($url) {
101.
$ch = curl_init();
102.
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
103.
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- D:\wwwroot\newXingHu\wwwroot\source\channel.php on line 13
8.
$this->moldname=moldsinfo($this->molds,'moldname');
9.
$this->sy_class_type=syClass('syclasstype');
10.
$this->db=$GLOBALS['G_TL']['db']['prefix'].$this->molds;
11.
}
12.
function index(){
13.
14.
$this->Class=syClass('c_'.$this->molds);
if($this->syArgs('file',1)!=''){
15.
$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');
16.
$id = $this->channel['id'];
17.
}else{
18.
$id = $this->syArgs('id');
- D:\wwwroot\newXingHu\wwwroot\include\Functions.php on line 16
11.
$handle_controller = syClass($__controller, null, $GLOBALS['G_TL']["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_TL']['view']['auto_display']){
18.
$__tplname = $__controller.$GLOBALS['G_TL']['view']['auto_display_sep'].
19.
$__action.$GLOBALS['G_TL']['view']['auto_display_suffix'];
20.
$handle_controller->auto_display($__tplname);
21.
}
- D:\wwwroot\newXingHu\wwwroot\index.php on line 5
1.
<?php
2.
require("config.php");
3.
$tlConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$tlConfig['ext']['view_themes'];
4.
require(TL_PATH."/sys.php");
5.
spRun();