diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-10-17 02:12:54 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-10-17 02:12:54 -0400 |
commit | 89475cd2e6ebe3f5e46e0d214f77b00e4c3777ed (patch) | |
tree | 91b886a0c672ccf20bdedc48275d2787e5841b88 /config/anyterm/access_anyterm.php | |
parent | c3a3577bd31b3d37c76d0a769eca8e274f68b154 (diff) | |
download | pfsense-packages-89475cd2e6ebe3f5e46e0d214f77b00e4c3777ed.tar.gz pfsense-packages-89475cd2e6ebe3f5e46e0d214f77b00e4c3777ed.tar.bz2 pfsense-packages-89475cd2e6ebe3f5e46e0d214f77b00e4c3777ed.zip |
nuke ip address, nat port forwards work just as well
Diffstat (limited to 'config/anyterm/access_anyterm.php')
-rw-r--r-- | config/anyterm/access_anyterm.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/anyterm/access_anyterm.php b/config/anyterm/access_anyterm.php index 059efc94..b1703932 100644 --- a/config/anyterm/access_anyterm.php +++ b/config/anyterm/access_anyterm.php @@ -37,10 +37,7 @@ if($config['installedpackages']['anyterm']['config'][0]['stunnelport']) { $httpors = "http"; } -if($config['installedpackages']['anyterm']['config'][0]['stunnelipaddr']) - $location = "{$config['installedpackages']['anyterm']['config'][0]['stunnelipaddr']}:{$port}/anyterm.html"; -else - $location = "{$_SERVER['SERVER_ADDR']}:{$port}/anyterm.html"; +$location = "{$_SERVER['SERVER_ADDR']}:{$port}/anyterm.html"; Header("Location: {$httpors}://{$location}"); |