|
|
|
@ -98,11 +98,6 @@ Class ListController extends Controller {
@@ -98,11 +98,6 @@ Class ListController extends Controller {
|
|
|
|
|
$htmlReadme = $readmeFile['htmlReadme']; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//获取目录面包屑 |
|
|
|
|
$subcate = !empty($scanResults[$cateId]) ? $scanResults[$cateId] : array(); |
|
|
|
|
$breadcrumbs = $this->getBreadcrumbs($currentDir, $cachedParentData, $scanner); |
|
|
|
|
|
|
|
|
|
//图片、视频类型筛选支持 |
|
|
|
|
$showType = $this->get('show', 'all'); |
|
|
|
|
if ($showType == 'image' && !empty($scanResults[$cateId]['files'])) { |
|
|
|
@ -117,6 +112,10 @@ Class ListController extends Controller {
@@ -117,6 +112,10 @@ Class ListController extends Controller {
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//获取目录面包屑 |
|
|
|
|
$subcate = !empty($scanResults[$cateId]) ? $scanResults[$cateId] : array(); |
|
|
|
|
$breadcrumbs = $this->getBreadcrumbs($currentDir, $cachedParentData, $scanner); |
|
|
|
|
|
|
|
|
|
//获取当前目录下的readme |
|
|
|
|
$cateReadmeFile = $scanner->getDefaultReadme(); |
|
|
|
|
if (!empty($cateReadmeFile)) { |
|
|
|
|