aboutsummaryrefslogtreecommitdiffstats
path: root/config/anyterm/access_anyterm.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-10-16 22:53:28 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-10-16 22:53:28 -0400
commit892ce6ea19f3317c07698ee1a361c6f6cd6f602a (patch)
treee3b0cd7153f8c4c8946f16ebb62178c6ab009781 /config/anyterm/access_anyterm.php
parent1b6a6c677fa47b2f976df46fd758ccd27275eba2 (diff)
downloadpfsense-packages-892ce6ea19f3317c07698ee1a361c6f6cd6f602a.tar.gz
pfsense-packages-892ce6ea19f3317c07698ee1a361c6f6cd6f602a.tar.bz2
pfsense-packages-892ce6ea19f3317c07698ee1a361c6f6cd6f602a.zip
Add [0]
Diffstat (limited to 'config/anyterm/access_anyterm.php')
-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 bcbaa102..663e5c27 100644
--- a/config/anyterm/access_anyterm.php
+++ b/config/anyterm/access_anyterm.php
@@ -29,11 +29,11 @@
require("guiconfig.inc");
-if($config['installedpackages']['anyterm']['config']['stunnelport']) {
- $port = $config['installedpackages']['anyterm']['config']['port'];
+if($config['installedpackages']['anyterm']['config'][0]['stunnelport']) {
+ $port = $config['installedpackages']['anyterm']['config'][0]['port'];
$httpors = "http";
} else {
- $port = $config['installedpackages']['anyterm']['config']['stunnelport'];
+ $port = $config['installedpackages']['anyterm']['config'][0]['stunnelport'];
$httpors = "https";
}