在这里,我们需要找到与专题目录相关的配置代码,并将其路径从 `/special` 修改为 `/zt`。具体操作如下:
$remotefile[3] = array(
'filedir' => '/special',
'description' => '专题目录',
'dfserv' => 0,
'state' => 1,
'issystem' => 1
);
// 将其修改为:
$remotefile[3] = array(
'filedir' => '/zt',
'description' => '专题目录',
'dfserv' => 0,
'state' => 1,
'issystem' => 1
);
此文件中同样包含对专题目录的定义,我们只需要将默认的 `/special` 路径更改为 `/zt` 即可。
// 专题目录
$dirarray[$i++] = addDir('/special', '专题目录', 0, 0, 1);
// 修改为:
$dirarray[$i++] = addDir('/zt', '专题目录', 0, 0, 1);
在这个文件中,您需要找到关于专题列表存放路径的定义,并将其路径更改为 `/zt`。
// 专题列表的存放路径
$cfg_special = $cfg_cmspath.'/special';
$cfg_specialurl = $cfg_mainsite.$cfg_special;
// 修改为:
$cfg_special = $cfg_cmspath.'/zt';
$cfg_specialurl = $cfg_mainsite.$cfg_special;