From 8ee2678d699115488bdcdba50ac99a0661cc7ac7 Mon Sep 17 00:00:00 2001 From: DiscuzX <153619335@qq.com> Date: Wed, 15 Mar 2023 05:54:03 +0000 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=BE=93=E5=87=BA=E7=BD=91=E7=AB=99=E7=BC=96?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: DiscuzX <153619335@qq.com> --- utility/restore.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utility/restore.php b/utility/restore.php index 942e9fc83..6b75b0e3d 100644 --- a/utility/restore.php +++ b/utility/restore.php @@ -21,6 +21,8 @@ define('ROOT_PATH', dirname(__FILE__).'/../'); define('CHARSET', $_config['output']['charset']); define('DBCHARSET', $_config['db']['1']['dbcharset']); +header('Content-Type: text/html; charset='.CHARSET); + $lock_file = ROOT_PATH.'./data/restore.lock'; if(file_exists($lock_file)) { show_msg('restored_error'); -- Gitee