优化代码格式

This commit is contained in:
耗子
2025-06-09 01:47:53 +08:00
parent 1021deb60d
commit 4a4cdd059c
+2 -2
View File
@@ -67,8 +67,8 @@ 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'),
'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'));