aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}");