diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-13 22:20:16 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-13 22:20:16 +0000 |
commit | e2c41c393f2a9db396e27dc5bc757c0a920ff7f0 (patch) | |
tree | a5c5cc1f6c2e8463298c0fd380d9324e1ee411e2 | |
parent | e02f143c7acdd6bbfa87ea3a3a739e20f31a23f6 (diff) | |
download | pfsense-e2c41c393f2a9db396e27dc5bc757c0a920ff7f0.zip pfsense-e2c41c393f2a9db396e27dc5bc757c0a920ff7f0.tar.gz |
SERVER_NAME -> SERVER_ADDR
-rwxr-xr-x | usr/local/www/system.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php index 48a7471..e9c693c 100755 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -276,9 +276,9 @@ include("head.inc"); if ($restart_webgui) { global $_SERVER; if ($pconfig['webguiport']) { - $url="{$pconfig['webguiproto']}://{$_SERVER['SERVER_NAME']}:{$pconfig['webguiport']}/system.php"; + $url="{$pconfig['webguiproto']}://{$_SERVER['SERVER_ADDR']}:{$pconfig['webguiport']}/system.php"; } else { - $url = "{$pconfig['webguiproto']}://{$_SERVER['SERVER_NAME']}/system.php"; + $url = "{$pconfig['webguiproto']}://{$_SERVER['SERVER_ADDR']}/system.php"; } echo "<p>One moment... switching https mode/port...</p>"; echo "<meta http-equiv=\"refresh\" content=\"10;url={$url}\">"; |