diff --git a/app/admin/controller/Login.php b/app/admin/controller/Login.php index 4e00c52cb..2f3b8fecc 100644 --- a/app/admin/controller/Login.php +++ b/app/admin/controller/Login.php @@ -47,7 +47,7 @@ class Login extends Controller $this->captchaType = 'LoginCaptcha'; $this->captchaToken = CodeExtend::uniqidDate(18); $this->developMode = SystemService::instance()->checkRunMode(); - $this->backgroundLogin = strtr(sysconf('login_image') ?: '', '|', ','); + $this->backgrounds = strtr(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/login/index.html b/app/admin/view/login/index.html index 69dc5013d..6f42b35f7 100644 --- a/app/admin/view/login/index.html +++ b/app/admin/view/login/index.html @@ -1,7 +1,7 @@ {extend name="index/index"} {block name="body"} -