正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -38,7 +38,7 @@ class PublicController extends AdminBaseController | @@ -38,7 +38,7 @@ class PublicController extends AdminBaseController | ||
38 | $site_admin_url_password = config("cmf_SITE_ADMIN_URL_PASSWORD"); | 38 | $site_admin_url_password = config("cmf_SITE_ADMIN_URL_PASSWORD"); |
39 | $upw = session("__CMF_UPW__"); | 39 | $upw = session("__CMF_UPW__"); |
40 | if (!empty($site_admin_url_password) && $upw != $site_admin_url_password) { | 40 | if (!empty($site_admin_url_password) && $upw != $site_admin_url_password) { |
41 | - redirect(ROOT_PATH . "/"); | 41 | + redirect(url("admin/Index/index")); |
42 | } else { | 42 | } else { |
43 | session("__SP_ADMIN_LOGIN_PAGE_SHOWED_SUCCESS__", true); | 43 | session("__SP_ADMIN_LOGIN_PAGE_SHOWED_SUCCESS__", true); |
44 | $result = hook_one('admin_login'); | 44 | $result = hook_one('admin_login'); |
-
请 注册 或 登录 后发表评论