diff --git a/app/admin/controller/Login.php b/app/admin/controller/Login.php index be77a74e3..fcda617cc 100644 --- a/app/admin/controller/Login.php +++ b/app/admin/controller/Login.php @@ -47,6 +47,7 @@ class Login extends Controller $this->captchaType = 'LoginCaptcha'; $this->captchaToken = CodeExtend::uniqidDate(18); $this->developmentMode = SystemService::instance()->checkRunMode(); + $this->loginBackground = str_replace('|', ',', sysconf('login_image') ?: ''); // 刷新当前后台域名 $host = "{$this->request->scheme()}://{$this->request->host()}"; if ($host !== sysconf('base.site_host')) sysconf('base.site_host', $host); diff --git a/app/admin/view/config/system.html b/app/admin/view/config/system.html index 0417031da..80c10cc35 100644 --- a/app/admin/view/config/system.html +++ b/app/admin/view/config/system.html @@ -2,8 +2,8 @@
- 后台登录入口 - Login + 后台登录入口 + Login Entry
+
+ 登录界面背景 + Login Background +
+ +
+