From 5a3d6d8e900487eb2decc9761fcefbd02581a414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Fri, 10 May 2024 16:34:04 +0800 Subject: [PATCH] * Adjust for check internet. --- module/misc/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/misc/control.php b/module/misc/control.php index 37956c1b1f..a4f15f2487 100644 --- a/module/misc/control.php +++ b/module/misc/control.php @@ -59,6 +59,8 @@ class misc extends control */ public function checkUpdate(string $sn = '', string $force = '') { + session_write_close(); + /* 检查服务端是否联网。 */ $hasInternet = $this->session->hasInternet; if(empty($hasInternet))