kingcms tag问题修复
kingcms tag问题修复
日期:2019年5月7日 上午7:03
分类:CMS问题
portal目录下core_class文件
找到portal/core.class.php中的这行:
$sql_array[]="select * from(select listid,kid from %s__$table where nshow=1 {$where} {$order}) as tmp_$table";
替换为:
$sql_array[]="select * from(select listid,kid from ".DB_PRE."__$table where nshow=1 {$where} {$order}) as tmp_$table";
由于%s替换失败所致.这行代码在tag方法中
为您推荐

版权声明:
fm0898.com小部分文章引用或者参考了网络上传播的部分开源开放代码,我站采用的这部分代码仅供用于学习和交流,请勿用于商业用途。如有侵权、不妥之处,请 联系我们并出示版权证明以便删除 !