aboutsummaryrefslogtreecommitdiffstats
path: root/config/anyterm/access_anyterm.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-10-17 02:12:54 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-10-17 02:12:54 -0400
commit89475cd2e6ebe3f5e46e0d214f77b00e4c3777ed (patch)
tree91b886a0c672ccf20bdedc48275d2787e5841b88 /config/anyterm/access_anyterm.php
parentc3a3577bd31b3d37c76d0a769eca8e274f68b154 (diff)
downloadpfsense-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.php5
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}");