怎么修改dedecms专录名称
把默认放置在/special文件改为/zt
第I.步:打开data/config.file.inc.p
更多精彩就在: 51免费论文网|www.jxszl.com
hp
$remotefile[III]=array(
filedir=>/special,
description=>专录,
dfserv=>0,
state=>I.,
issystem=>I.
);
改为
$remotefile[III]=array(
filedir=>/zt,
description=>专录,
dfserv=>0,
state=>I.,
issystem=>I.
);
第II步:打开dede/makeremote_all.php
//专录
$dirarray[$i++]=addDir(/special,专录,0,0,I.);
改为
//专录
$dirarray[$i++]=addDir(/zt,专录,0,0,I.);
第III步:打开/include/common.inc.php
//专题列表的存放路径
$cfg_special=$cfg_cmspath./special;
$cfg_specialurl=$cfg_mainsite.$cfg_special;
改为
//专题列表的存放路径
$cfg_special=$cfg_cmspath./zt;
$cfg_specialurl=$cfg_mainsite.$cfg_special;
原文链接:http://www.jxszl.com/biancheng/dedecms/74712.html