aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/anyterm/access_anyterm.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/anyterm/access_anyterm.php b/config/anyterm/access_anyterm.php
index 94624cba..1fe5c949 100644
--- a/config/anyterm/access_anyterm.php
+++ b/config/anyterm/access_anyterm.php
@@ -30,11 +30,11 @@
require("guiconfig.inc");
if($config['installedpackages']['anyterm']['config'][0]['stunnelport']) {
- $port = $config['installedpackages']['anyterm']['config'][0]['port'];
- $httpors = "http";
-} else {
$port = $config['installedpackages']['anyterm']['config'][0]['stunnelport'];
$httpors = "https";
+} else {
+ $port = $config['installedpackages']['anyterm']['config'][0]['port'];
+ $httpors = "http";
}
$location = "{$_SERVER['SERVER_ADDR']}:{$port}";