From 71811277d9333731a4ca066f1dbc96de9c1f8310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Tue, 23 Aug 2022 10:20:20 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E5=AE=89=E8=A3=85=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/public/install/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmeb/public/install/index.php b/crmeb/public/install/index.php index 9e98ba729..9458735f0 100644 --- a/crmeb/public/install/index.php +++ b/crmeb/public/install/index.php @@ -453,7 +453,7 @@ switch ($step) { $res = mysqli_query($conn, $addadminsql); $res2 = true; if (isset($_SERVER['SERVER_NAME'])) { - $site_url = '\'"https://' . $_SERVER['SERVER_NAME'] . '"\''; + $site_url = '\'"http://' . $_SERVER['SERVER_NAME'] . '"\''; $res2 = mysqli_query($conn, 'UPDATE `' . $dbPrefix . 'system_config` SET `value`=' . $site_url . ' WHERE `menu_name`="site_url"'); } if ($res) {