原网址:https://lwsc.love/sort/iemlog 更改后:https://lwsc.love/iemlogemlog去除分类目录前的sort修改方法:
return $path;替换成
if($path!="/"&&substr($path,0,6)!="/sort/"&&substr($path,0,2)!="/?") { return "/sort".$path; } else { return $path; }3.修改include\lib\dispatcher.php文件中
$path = str_ireplace('index.php', '', $path);替换成
$path = str_ireplace('/index.php', '', $path);