From fd4f311d9215374241a558c227c87d4c7187d44f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 16 Oct 2009 23:04:16 -0400 Subject: Reverse logic --- config/anyterm/access_anyterm.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/anyterm/access_anyterm.php') 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}"; -- cgit v1.2.3