From 89475cd2e6ebe3f5e46e0d214f77b00e4c3777ed Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 17 Oct 2009 02:12:54 -0400 Subject: nuke ip address, nat port forwards work just as well --- config/anyterm/access_anyterm.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'config/anyterm') 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}"); -- cgit v1.2.3