|
|
@ -122,6 +122,8 @@ Class SiteController extends Controller { |
|
|
|
//翻页支持 |
|
|
|
//翻页支持 |
|
|
|
$page = $this->get('page', 1); |
|
|
|
$page = $this->get('page', 1); |
|
|
|
$pageSize = $this->get('limit', 24); |
|
|
|
$pageSize = $this->get('limit', 24); |
|
|
|
|
|
|
|
$page = (int)$page; |
|
|
|
|
|
|
|
$pageSize = (int)$pageSize; |
|
|
|
|
|
|
|
|
|
|
|
$pageTitle = !empty($titles) ? $titles[0]['name'] : "FileSite.io"; |
|
|
|
$pageTitle = !empty($titles) ? $titles[0]['name'] : "FileSite.io"; |
|
|
|
if (!empty($readmeFile['title'])) { |
|
|
|
if (!empty($readmeFile['title'])) { |
|
|
|