From 071f132fb3e954fe4673ac697f9e60c528e169a2 Mon Sep 17 00:00:00 2001 From: filesite Date: Sat, 11 May 2024 20:00:47 +0800 Subject: [PATCH] change default link after login and register --- themes/tajian/controller/SiteController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/tajian/controller/SiteController.php b/themes/tajian/controller/SiteController.php index 9c93fa7..fbb6973 100644 --- a/themes/tajian/controller/SiteController.php +++ b/themes/tajian/controller/SiteController.php @@ -385,7 +385,7 @@ Class SiteController extends Controller { //判断是否已经登录 $loginedUser = Common::getUserFromSession(); if (!empty($loginedUser['username'])) { - $shareUrl = "/{$loginedUser['username']}/"; + $shareUrl = "/{$loginedUser['username']}/my/"; return $this->redirect($shareUrl); } @@ -404,7 +404,7 @@ Class SiteController extends Controller { //判断是否已经登录 $loginedUser = Common::getUserFromSession(); if (!empty($loginedUser['username'])) { - $shareUrl = "/{$loginedUser['username']}/"; + $shareUrl = "/{$loginedUser['username']}/my/share/"; return $this->redirect($shareUrl); }