diff options
Diffstat (limited to 'usr/local/www/pkg_mgr.php')
-rwxr-xr-x | usr/local/www/pkg_mgr.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 "); |