syModel类定义不存在,请检查。
- F:\websites\yingcailawcom-566312\www\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_DY']['inst_class'][\$class_name]= new \$class_name($argString);");
96.
return $GLOBALS['G_DY']["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);
- F:\websites\yingcailawcom-566312\www\include\Functions.php on line 207
202.
{
203.
return $GLOBALS['G_DY']["view_registered_functions"][$alias] = $callback_function;
204.
}
205.
206.
function syDB($tbl_name, $pk = null){
207.
208.
$modelObj = syClass("syModel");
$modelObj->tbl_name = (TRUE == $GLOBALS['G_DY']["db_spdb_full_tblname"]) ? $tbl_name : $GLOBALS['G_DY']['db']['prefix'] . $tbl_name;
209.
if( !$pk ){
210.
@list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk = $pk['Field'];
211.
}
212.
$modelObj->pk = $pk;
- F:\websites\yingcailawcom-566312\www\include\Functions.php on line 456
451.
$c=syDB('custom')->find(array('file' => $file));
452.
return $c;
453.
}
454.
//频道信息获取
455.
function moldsinfo($molds,$q){
456.
457.
$m=syDB('molds')->find(array('molds' => $molds),null,$q);
return $m[$q];
458.
}
459.
//内容信息获取
460.
function contentinfo($molds,$id,$q){
461.
$c=syDB($molds)->find(array('id' => $id),null,$q);
- F:\websites\yingcailawcom-566312\www\source\article.php on line 8
3.
class article extends syController
4.
{
5.
function __construct(){
6.
parent::__construct();
7.
$this->molds = 'article';
8.
9.
$this->moldname=moldsinfo('article','moldname');
$this->sy_class_type=syClass('syclasstype');
10.
$this->Class=syClass('c_article');
11.
$this->db=$GLOBALS['G_DY']['db']['prefix'].'article';
12.
$this->queryargs = $this->syArgs();
13.
}
- F:\websites\yingcailawcom-566312\www\include\Functions.php on line 95
90.
}
91.
}
92.
if(FALSE != $has_define){
93.
$argString = '';$comma = '';
94.
if(null != $args)for ($i = 0; $i < count($args); $i ++) { $argString .= $comma . "\$args[$i]"; $comma = ', ';}
95.
96.
eval("\$GLOBALS['G_DY']['inst_class'][\$class_name]= new \$class_name($argString);");
return $GLOBALS['G_DY']["inst_class"][$class_name];
97.
}
98.
syError($class_name."类定义不存在,请检查。");
99.
}
100.
function curl_get($url) {
- F:\websites\yingcailawcom-566312\www\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();
- F:\websites\yingcailawcom-566312\www\index.php on line 74
69.
$doyoConfig['ext']['view_themes'] = $_GET['theme'];
70.
setcookie('theme', $doyoConfig['ext']['view_themes']);
71.
}
72.
$doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
73.
require(DOYO_PATH."/sys.php");
74.
spRun();