注册 | 登录 |
地方论坛门户及新闻和人才网址大全

织梦dedecms其他选项中没有“模板引擎禁用标签”

时间:2021-07-21人气:-


用织梦dedecms 建站时,5.7版后,在默认安装完后,网站提示织梦DedeCMS Error:Tagdisabled:"php" more...!1、解决的方法是:网站后台——系统——系统基本参数——其他选项——模板引擎禁用标签:删除其中的“php”,问题就解决了。2、但有时我们在后台的其他选项中没有“模板引擎禁用标签”,怎样解决呢?解决方法很简单,复制下面代码到SQL命令行工具-->SQL命令行中,确定一下。然后就出现了系统--系统基本参数---其他选项 ---模板引擎禁用标签代码如下:INSERT INTO `dede_sysconfig` (`varname`, `info`, `groupid`, `type`,`value`) VALUES ('cfg_disable_funs', '模板引擎禁用PHP函数', 7,'bstring','phpinfo,eval,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,file_put_contents');INSERT INTO `dede_sysconfig` (`varname`, `info`, `groupid`, `type`,`value`) VALUES ('cfg_disable_tags', '模板引擎禁用标签', 7, 'bstring','php');

上篇:dedecms织梦dede:channel标签的数字递增调用...

下篇:runphp标签织梦dedecms直接获取上一篇下一篇的UR...