diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2012-05-23 15:49:41 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2012-05-23 15:49:41 -0600 |
commit | 879f7db7d3accad37d8e8e182a9dd22d0c3f8ae8 (patch) | |
tree | 271c1eaa65e2c45bc115b4bf5a4c4557903e8f4b /etc | |
parent | 1276637450a1f80414733db5fcb5f492f019511c (diff) | |
download | pfsense-879f7db7d3accad37d8e8e182a9dd22d0c3f8ae8.zip pfsense-879f7db7d3accad37d8e8e182a9dd22d0c3f8ae8.tar.gz |
Add missing declaration for global variable $g where it is used.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 5655ee0..319fbbd 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -575,7 +575,7 @@ function upgrade_038_to_039() { function upgrade_039_to_040() { - global $config; + global $config, $g; $config['system']['webgui']['auth_method'] = "session"; $config['system']['webgui']['backing_method'] = "htpasswd"; @@ -2790,7 +2790,7 @@ function upgrade_084_to_085() { } function upgrade_085_to_086() { - global $config; + global $config, $g; /* XXX: Gross hacks in sight */ write_config(); |