summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-26 22:26:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-26 22:26:02 +0000
commitc52c9894ef1f5602d4d39eb372841aeeea468477 (patch)
tree4867e0f1080f56dbae30995e7d1655f975be6e83 /etc
parent0d6f1d457f2783123258494a21687e5f86e38fee (diff)
downloadpfsense-c52c9894ef1f5602d4d39eb372841aeeea468477.zip
pfsense-c52c9894ef1f5602d4d39eb372841aeeea468477.tar.gz
$g needs to be a global, too to participate in the fun.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index dffdd5d..944d76e 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -400,7 +400,7 @@ function get_latest_package_version($pkg_name) {
* Lookup pkg_id in pkg_config.xml
*/
function get_available_pkg_id($pkg_name) {
- global $pkg_config;
+ global $pkg_config, $g;
if(!is_array($pkg_config)) {
fetch_latest_pkg_config();
$pkg_config = parse_xml_config_pkg("{$g['tmp_path']}/pkg_config.xml", "pfsensepkgs");
OpenPOWER on IntegriCloud