From 8c7c568e5c9cfe373c04cb228acf1fbb629221c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Mon, 9 Jun 2025 14:21:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=A4=E9=94=80=E9=A6=96=E9=A1=B5=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Index.php | 2 -- app/view/index/index.html | 32 ++++++++++++++++---------------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/app/controller/Index.php b/app/controller/Index.php index af5b722..9e56da8 100644 --- a/app/controller/Index.php +++ b/app/controller/Index.php @@ -67,8 +67,6 @@ class Index extends BaseController 'software' => $_SERVER['SERVER_SOFTWARE'], 'os' => php_uname(), 'date' => date("Y-m-d H:i:s"), - 'no_https' => ! $this->request->isSsl(), - 'old_browser' => str_contains($this->request->header('User-Agent'), 'Windows NT') && str_contains($this->request->header('User-Agent'), 'Trident'), ]; View::assign('info', $info); View::assign('checkupdate', '//auth.cccyun.cc/app/dnsmgr.php?ver=' . config('app.version')); diff --git a/app/view/index/index.html b/app/view/index/index.html index 4621bb8..f28e0b8 100644 --- a/app/view/index/index.html +++ b/app/view/index/index.html @@ -72,22 +72,8 @@
-
- {if $info.no_https} -
-
- 当前正在使用HTTP访问,可能存在被窃取敏感信息风险,请使用HTTPS访问! -
-
- {/if} - {if $info.old_browser} -
-
- 当前浏览器是兼容模式,为确保后台功能正常使用,请切换到极速模式
- 操作方法:点击浏览器地址栏右侧的IE符号→选择“极速模式” -
-
- {/if} +
+
@@ -240,4 +226,18 @@ function cleancache(){ }); } + {/block} \ No newline at end of file