OSDN Git Service

Update main.php
authorKazuki Suzuki Przyborowski <kazuki.przyborowski@gmail.com>
Thu, 10 Jun 2021 06:53:56 +0000 (01:53 -0500)
committerGitHub <noreply@github.com>
Thu, 10 Jun 2021 06:53:56 +0000 (01:53 -0500)
inc/admin/main.php

index 67905e4..1c3e692 100644 (file)
@@ -583,7 +583,8 @@ if($PreBorgURL['host']=="localhost.url"&&str_replace("/", "", $PreBorgURL['path'
 if($PreBorgURL['host']!="localhost.url"&&str_replace("/", "", $PreBorgURL['path'])=="localpath") {
    $PreBetURL['path'] = $PreBorgURL['path'];
    $Settings['idburl'] = unparse_url($PreBetURL); }
-$PreWorgURL = parse_url($PreWestURL);
+//$PreWorgURL = parse_url($PreWestURL);
+$PreWorgURL = parse_url($OrgWebSiteURL);
 $PreBetURL = parse_url($Settings['weburl']);
 if($PreWorgURL['host']=="localhost.url"&&str_replace("/", "", $PreWorgURL['path'])=="localpath") {
    $PreBetURL['host'] = $PreWorgURL['host'];