|
|
|
@ -176,6 +176,7 @@ Class ListController extends Controller {
@@ -176,6 +176,7 @@ Class ListController extends Controller {
|
|
|
|
|
$cates = explode('/', $arr[1]); |
|
|
|
|
$parentCate = preg_replace("/\/$/", '', "{$arr[0]}{$webroot}"); //删除最后一个斜杠 |
|
|
|
|
foreach ($cates as $index => $cate) { |
|
|
|
|
if (empty($cate)) {continue;} |
|
|
|
|
if ($cate == $currentDir['directory']) {break;} |
|
|
|
|
|
|
|
|
|
$subcate = "{$parentCate}/{$cate}"; |
|
|
|
|