diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-07-09 14:38:39 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-07-09 14:38:39 +0000 |
commit | 07b73e3df17ee562545c66bf238e2712568a6d44 (patch) | |
tree | 0686945423ad08f8d06b42c62ba23acdd555a527 /etc | |
parent | 3bff737ee8f806aa6b523ed70a791d36591d6b33 (diff) | |
download | pfsense-07b73e3df17ee562545c66bf238e2712568a6d44.zip pfsense-07b73e3df17ee562545c66bf238e2712568a6d44.tar.gz |
Add forgotten global so file creation actually works.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index bacfdf3..80cbb8d 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -988,15 +988,14 @@ function squash_from_bytes($size, $round = "") { } function pkg_build_filter_rules() { - global $config; + global $config, $g; $pkgrules = ""; - $pkgrulesearly = ""; - $pkgnatrules = ""; - $pkgnatrulesearly = ""; - $pkgrdrrules = ""; - $pkgrdrrules = ""; - $pkgrdrrulesearly = ""; + $pkgrulesearly = ""; + $pkgnatrules = ""; + $pkgnatrulesearly = ""; + $pkgrdrrules = ""; + $pkgrdrrulesearly = ""; if (is_array($config['installedpackages']['package'])) { run_plugins("/usr/local/pkg"); foreach($config['installedpackages']['package'] as $pkg) { |