summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-02-10 13:55:01 -0500
committerjim-p <jimp@pfsense.org>2014-02-10 13:55:01 -0500
commit83491ba51ccdb058fe1f4b4cfdf1a46e979417cb (patch)
treef18f03fc413e8633c688405fc80c61fd21cf7026 /etc/inc/pkg-utils.inc
parent51623673dab68bd0d0dbed79351749e39fde6804 (diff)
downloadpfsense-83491ba51ccdb058fe1f4b4cfdf1a46e979417cb.zip
pfsense-83491ba51ccdb058fe1f4b4cfdf1a46e979417cb.tar.gz
Declare $config global so we can test the pkg_nochecksig option
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index ef2b17e..5697413 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -514,7 +514,7 @@ function sync_package($pkg_name, $sync_depends = true, $show_message = false) {
* a progress bar and output window.
*/
function pkg_fetch_recursive($pkgname, $filename, $dependlevel = 0, $base_url = "") {
- global $static_output, $g;
+ global $static_output, $g, $config;
// Clean up incoming filenames
$filename = str_replace(" ", " ", $filename);
OpenPOWER on IntegriCloud