From 6f3faa4ec3a1fd73d3051c1baeca9550d478caed Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 20 Sep 2022 19:17:25 +0300 Subject: [PATCH] Set Up Environment on x86 Build system --- lib/defines.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/defines.php b/lib/defines.php index 86559ee..7b20c8d 100644 --- a/lib/defines.php +++ b/lib/defines.php @@ -9,7 +9,7 @@ $SaveLocal=false; $MailAgent='SENDMAIL'; $CGP_SubmitPath='../Submitted/'; -$WEBPath='http://' . $_SERVER['SERVER_ADDR'] . '/'; +$WEBPath='http://' . $_SERVER['SERVER_NAME'] . '/'; $DBCacheDir=$SYSPath . 'cache'; $MinimalSize=640000;