diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php index c4bdb0e..e5f5a4b 100755 --- a/usr/local/www/pkg_edit.php +++ b/usr/local/www/pkg_edit.php @@ -651,4 +651,4 @@ function parse_package_templates() { } } -?>
\ No newline at end of file +?> diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index daafea3..a8c543c 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -73,8 +73,8 @@ include("fbegin.inc"); // Allow package location to be overriden $config_location = "http://www.pfsense.com/packages/pkg_config.xml"; -if($config['package_location']) - $config_location = $config['package_location']; +if(isset($config['system']['alt_pkg_url'])) + $config_location = $config['system']['alt_pkg_url']; if(!file_exists("{$g['tmp_path']}/pkg_config.xml")) { mwexec("cd {$g['tmp_path']} && /usr/bin/fetch \"" . $config_location . "\" >/dev/null 2>&1 "); |