diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-04-26 22:26:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-04-26 22:26:02 +0000 |
commit | c52c9894ef1f5602d4d39eb372841aeeea468477 (patch) | |
tree | 4867e0f1080f56dbae30995e7d1655f975be6e83 | |
parent | 0d6f1d457f2783123258494a21687e5f86e38fee (diff) | |
download | pfsense-c52c9894ef1f5602d4d39eb372841aeeea468477.zip pfsense-c52c9894ef1f5602d4d39eb372841aeeea468477.tar.gz |
$g needs to be a global, too to participate in the fun.
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
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"); |