方法:
网站后台-->系统-->系统基本参数-->其他选项-->模板引擎禁用标签-->把php删除掉
补充:
如果没有找到上述方法中的选项可以按如下方法操作
后台-->系统-->系统设置-->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');
然后在网站后台-->系统-->系统基本参数-->其他选项-->模板引擎禁用标签-->把php删除掉
网站后台-->系统-->系统基本参数-->其他选项-->模板引擎禁用标签-->把php删除掉
补充:
如果没有找到上述方法中的选项可以按如下方法操作
后台-->系统-->系统设置-->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');
然后在网站后台-->系统-->系统基本参数-->其他选项-->模板引擎禁用标签-->把php删除掉
热门信息
阅读 (154)
1 dedecms调用当前栏目下的所有子栏目和三级栏目阅读 (148)
2 dedecms新建的字段在模板里面的调用方法阅读 (147)
3 织梦dedecms修改管理员用户名的方法阅读 (143)
4 织梦dedecms自定义表单显示提交时间的方法阅读 (143)
5 织梦dedecms图集模型中productimagelist标签的官方说明