summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-29 01:20:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-29 01:20:54 +0000
commitd6f15759b573b24604317eb36e3272e98bd94b88 (patch)
tree6f9a3dde20cb823258e0a7cb0ed24adac84023ef
parent914c3f0dcb4fe7ab7b285ddddd31b02c176be764 (diff)
downloadpfsense-d6f15759b573b24604317eb36e3272e98bd94b88.zip
pfsense-d6f15759b573b24604317eb36e3272e98bd94b88.tar.gz
Use configfile attribute or url atribute
-rwxr-xr-xusr/local/www/pkg_mgr_install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index d2f9ccd..723ae4b 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -362,7 +362,7 @@ if(file_exists("/usr/local/pkg/" . $pkgent['name'] . ".xml")) {
if($menu['url'] <> "") {
fwrite($fd, $menu['url'] . "\n");
} else {
- fwrite($fd, "/pkg.php?xml=" . strtolower($menu['name']) . ".xml\n");
+ fwrite($fd, "/pkg.php?xml=" . strtolower($menu['configfile']) . ".xml\n");
}
fclose($fd);
}
OpenPOWER on IntegriCloud