mirror of
https://github.com/netcccyun/dnsmgr.git
synced 2026-07-12 18:54:29 +08:00
优化代码格式
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user