mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-03 08:20:36 +00:00
【程序目录】更新安装程序
This commit is contained in:
parent
b5ea15a9d6
commit
71811277d9
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user