|
|
|
@ -20,7 +20,6 @@ Class MyController extends SiteController {
@@ -20,7 +20,6 @@ Class MyController extends SiteController {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//获取数据 |
|
|
|
|
$menus = array(); //菜单,一级目录 |
|
|
|
|
$htmlReadme = ''; //Readme.md 内容,底部网站详细介绍 |
|
|
|
|
$menus_sorted = array(); //Readme_sort.txt 说明文件内容,一级目录菜单从上到下的排序 |
|
|
|
|
|
|
|
|
@ -55,8 +54,8 @@ Class MyController extends SiteController {
@@ -55,8 +54,8 @@ Class MyController extends SiteController {
|
|
|
|
|
$pageTitle = $defaultTitle = '个人中心 | ' . FSC::$app['config']['site_name']; |
|
|
|
|
$viewName = 'index'; |
|
|
|
|
$params = compact( |
|
|
|
|
'dirTree', 'scanResults', 'menus', 'htmlReadme', |
|
|
|
|
'tags', 'nickname' |
|
|
|
|
'dirTree', 'scanResults', |
|
|
|
|
'htmlReadme', 'tags', 'nickname' |
|
|
|
|
); |
|
|
|
|
return $this->render($viewName, $params, $pageTitle); |
|
|
|
|
} |
|
|
|
|