作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

测试反馈修改

@@ -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');