aboutsummaryrefslogtreecommitdiffstats
path: root/config/anyterm/access_anyterm.php
diff options
context:
space:
mode:
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";
}