织梦栏目伪静态后仍然自动生成空文件夹的解决方法
I..打开includearc.listview.class.php搜索
CreateDir(MfTypedir($this->Fi
更多精彩就在: 51免费论文网|www.jxszl.com
elds[typedir]));
总共有III处.全部替换为:
I.if($this->TypeLink->TypeInfos[isdefault]!=-I.)
II
III{
IV
VCreateDir(MfTypedir($this->Fields[typedir]));
VI
VII}
II.打开includehelperschannelunit.helper.php找到
CreateDir($okdir);
替换成:
if($ismake==0)CreateDir($okdir);
III.打开后台管理目录dedecatalog_add.php搜索
if($ispart!=II)
替换成:
if($ispart!=II&&$isdefault!=-I.)
将修改完成后的文件上传覆盖即可.
原文链接:http://www.jxszl.com/biancheng/dedecms/76320.html