diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-31 06:18:20 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-31 06:18:20 +0000 |
commit | 75c75837f812053123fe29630dead8d14d741f28 (patch) | |
tree | 6720ecd5d5501ff9f41abda0ac68fe6bc52649f3 /usr/local | |
parent | de3fa7a651b48ed49f482058bab5dfd5c76947e2 (diff) | |
download | pfsense-75c75837f812053123fe29630dead8d14d741f28.zip pfsense-75c75837f812053123fe29630dead8d14d741f28.tar.gz |
use parse_xml_config_pkg
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 1fe0cfa..687cf97 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -64,16 +64,12 @@ if ($_POST) { <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php -$config_tmp = $config; -$config = $pfSense_config; include("fbegin.inc"); -$config = $config_tmp; ?> <p class="pgtitle">System: Package Manager</p> <form action="firewall_nat_out_load_balancing.php" method="post"> <?php if ($savemsg) print_info_box($savemsg); ?> <?php -$configa = $config; // Allow package location to be overriden $config_location = "http://www.pfsense.com/packages/pkg_config.xml"; @@ -88,7 +84,7 @@ if(!file_exists("/tmp/pkg_config.xml")) { } } -$pkg_config = parse_xml_config("{$g['tmp_path']}/pkg_config.xml", "pfsensepkgs"); +$pkg_config = parse_xml_config_pkg("{$g['tmp_path']}/pkg_config.xml", "pfsensepkgs"); if(!$pkg_config['packages']) { print_info_box_np("Could not find any packages in pkg_config.xml"); |