diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-10-16 23:04:16 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-10-16 23:04:16 -0400 |
commit | fd4f311d9215374241a558c227c87d4c7187d44f (patch) | |
tree | fc116cc2869de945c58b26810b400b94b712a135 /config/anyterm/access_anyterm.php | |
parent | 452af8e7d9bff2ceb1c78ede599adef806a86cc7 (diff) | |
download | pfsense-packages-fd4f311d9215374241a558c227c87d4c7187d44f.tar.gz pfsense-packages-fd4f311d9215374241a558c227c87d4c7187d44f.tar.bz2 pfsense-packages-fd4f311d9215374241a558c227c87d4c7187d44f.zip |
Reverse logic
Diffstat (limited to 'config/anyterm/access_anyterm.php')
-rw-r--r-- | config/anyterm/access_anyterm.php | 6 |
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}"; |