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;