aboutsummaryrefslogtreecommitdiffstats
path: root/config/anyterm
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-10-16 23:04:16 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-10-16 23:04:16 -0400
commitfd4f311d9215374241a558c227c87d4c7187d44f (patch)
treefc116cc2869de945c58b26810b400b94b712a135 /config/anyterm
parent452af8e7d9bff2ceb1c78ede599adef806a86cc7 (diff)
downloadpfsense-packages-fd4f311d9215374241a558c227c87d4c7187d44f.tar.gz
pfsense-packages-fd4f311d9215374241a558c227c87d4c7187d44f.tar.bz2
pfsense-packages-fd4f311d9215374241a558c227c87d4c7187d44f.zip
Reverse logic
Diffstat (limited to 'config/anyterm')
-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}";