帝国cms更改系统默认的时区
帝国cms更改系统默认的时区修改e/class/connect.php//时区if(function_exists('date_default_timezone_set')){@date_default_timezone_set("PRC");}改成@date_default_timezone_set("Europe/London");……
修改e/class/connect.php
//时区
if(function_exists('date_default_timezone_set'))
{
@date_default_timezone_set("PRC");
}
改成@date_default_timezone_set("Europe/London");
- 上一篇
帝国cms二次开发搜索页支持php和动态标签代码
帝国CMS动态页面默认是不支持标签语法的,所以在制作搜索、留言等页面的时候需要改动下才行。帝国cms二次开发教程找到/e/search/result/index.php 文件在下面找到require("../../class/q_functions.php");替换为requir
- 下一篇
帝国CMS列表页调用副表字段
列表模板中要调用副表字段内容需要采用“list.var支持程序代码”。下面帝国cms模板网就来告诉大家:下面以读取新闻副表中的newstext字段为例的list.var模板代码:$fr=$empire->fetch1("selectnewstextfrom{$db