summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-16 22:46:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-16 22:46:36 +0000
commit2eaf9591d0988c4e0888a75ab6e56b9d96f8ed49 (patch)
treef4a23b6b39710f4b4ef9a8294bcfa26256799df3 /usr
parent065adbe39e61c2b6daa550f2b3b9f634c4db5fdd (diff)
downloadpfsense-2eaf9591d0988c4e0888a75ab6e56b9d96f8ed49.zip
pfsense-2eaf9591d0988c4e0888a75ab6e56b9d96f8ed49.tar.gz
use name no menu->name
Diffstat (limited to 'usr')
-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 6ffebb9..7bb7d3f 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -337,7 +337,7 @@ if(file_exists("/usr/local/pkg/" . $pkgent['name'] . ".xml")) {
}
// install menu item into the ext folder
fwrite($fd_log, "Adding menu option to " . $package_conf['menu']['section'] . "/" . $package_conf['menu']['name'] . "\n");
- $fd = fopen("/usr/local/www/ext/" . $package_conf['menu']['section'] . "/" . $package_conf['menu']['name'] , "w");
+ $fd = fopen("/usr/local/www/ext/" . $package_conf['menu']['section'] . "/" . $package_conf['name'] , "w");
fwrite($fd, "/usr/local/www/pkg.php?xml=" . $package_conf['menu']['name'] . "\n");
fclose($fd);
} else {
OpenPOWER on IntegriCloud