summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/pkg_mgr.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php
index daf072c..91169de 100755
--- a/usr/local/www/pkg_mgr.php
+++ b/usr/local/www/pkg_mgr.php
@@ -107,8 +107,8 @@ include("fbegin.inc");
} else {
$pkgs = array();
$instpkgs = array();
- if($config['extensions']['packages']['package'])
- foreach($config['extensions']['packages']['package'] as $instpkg) $instpkgs[] = $instpkg['name'];
+ if($config['installedpackages']['package'] != "")
+ foreach($config['installedpackages']['package'] as $instpkg) $instpkgs[] = $instpkg['name'];
$pkg_names = array_keys($pkg_info);
$pkg_keys = array();
foreach($pkg_names as $name) {
@@ -165,3 +165,4 @@ include("fbegin.inc");
<?php include("fend.inc"); ?>
</body>
</html>
+
OpenPOWER on IntegriCloud