summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-04 00:16:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-04 00:16:09 +0000
commitc2acdb73d8c4fcf2a18da10faf854d6c2e230450 (patch)
tree61011dc1982178bd7ab6811179d17d1360c14345 /etc/inc
parent721834135ecc1a81e3f9de0a19b1305974091238 (diff)
downloadpfsense-c2acdb73d8c4fcf2a18da10faf854d6c2e230450.zip
pfsense-c2acdb73d8c4fcf2a18da10faf854d6c2e230450.tar.gz
make $config a global variable
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 135130f..3c7b5e9 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1190,6 +1190,7 @@ function reload_interfaces() {
* none
******/
function sync_webgui_passwords() {
+ global $config;
conf_mount_rw();
$config['system']['password'] = crypt($_POST['password']);
/* sync root */
OpenPOWER on IntegriCloud