|
|
@ -18,7 +18,7 @@ Class SiteController extends Controller { |
|
|
|
if (empty(FSC::$app['config']['multipleUserUriParse']) || !empty(FSC::$app['user_id'])) { |
|
|
|
if (empty(FSC::$app['config']['multipleUserUriParse']) || !empty(FSC::$app['user_id'])) { |
|
|
|
if (!empty(FSC::$app['user_id']) && Common::existCurrentUser() == false) { |
|
|
|
if (!empty(FSC::$app['user_id']) && Common::existCurrentUser() == false) { |
|
|
|
$user_id = FSC::$app['user_id']; |
|
|
|
$user_id = FSC::$app['user_id']; |
|
|
|
throw new Exception("你要访问的用户 {$user_id} 收藏夹不存在!", 404); |
|
|
|
throw new Exception("你要访问的用户 {$user_id} 聚宝盆不存在!", 404); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return $this->renderFavVideos(); |
|
|
|
return $this->renderFavVideos(); |
|
|
@ -81,7 +81,7 @@ Class SiteController extends Controller { |
|
|
|
//昵称支持 |
|
|
|
//昵称支持 |
|
|
|
$nickname = $this->getNickname($readmeFile); |
|
|
|
$nickname = $this->getNickname($readmeFile); |
|
|
|
|
|
|
|
|
|
|
|
$pageTitle = $defaultTitle = "{$nickname}的视频收藏夹 | " . FSC::$app['config']['site_name']; |
|
|
|
$pageTitle = $defaultTitle = "{$nickname}的聚宝盆 | " . FSC::$app['config']['site_name']; |
|
|
|
|
|
|
|
|
|
|
|
$viewName = 'myindex'; |
|
|
|
$viewName = 'myindex'; |
|
|
|
$params = compact( |
|
|
|
$params = compact( |
|
|
@ -391,7 +391,7 @@ Class SiteController extends Controller { |
|
|
|
return $this->redirect($shareUrl); |
|
|
|
return $this->redirect($shareUrl); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$pageTitle = "注册Ta荐:一个好用的视频收藏夹,帮你整理不同平台的好视频,还能分享给朋友!"; |
|
|
|
$pageTitle = "注册Ta荐 | TaJian.tv"; |
|
|
|
|
|
|
|
|
|
|
|
$this->layout = 'index'; |
|
|
|
$this->layout = 'index'; |
|
|
|
$viewName = 'register'; |
|
|
|
$viewName = 'register'; |
|
|
@ -416,7 +416,7 @@ Class SiteController extends Controller { |
|
|
|
return $this->redirect($shareUrl); |
|
|
|
return $this->redirect($shareUrl); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$pageTitle = "登录Ta荐:一个好用的视频收藏夹,帮你整理不同平台的好视频,还能分享给朋友!"; |
|
|
|
$pageTitle = "登录Ta荐 | TaJian.tv"; |
|
|
|
|
|
|
|
|
|
|
|
$this->layout = 'index'; |
|
|
|
$this->layout = 'index'; |
|
|
|
$viewName = 'login'; |
|
|
|
$viewName = 'login'; |
|
|
|