diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-06-18 07:48:12 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-06-18 07:48:40 -0300 |
commit | ef01b77f6dc5e2f4ba254739a1792207e7b52a09 (patch) | |
tree | 8715145aef8b96f0f154bac2f75c51e80eb8e4be /etc/inc | |
parent | 9507aa0ec067198b432dac772bf8303e1d0de8f6 (diff) | |
download | pfsense-ef01b77f6dc5e2f4ba254739a1792207e7b52a09.zip pfsense-ef01b77f6dc5e2f4ba254739a1792207e7b52a09.tar.gz |
Fix #3049, set $config as global to it can be read
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/rrd.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc index ef6b3eb..ba4b9ef 100644 --- a/etc/inc/rrd.inc +++ b/etc/inc/rrd.inc @@ -48,7 +48,7 @@ function dump_rrd_to_xml($rrddatabase, $xmldumpfile) { } function restore_rrd() { - global $g; + global $g, $config; $rrddbpath = "/var/db/rrd/"; $rrdtool = "/usr/bin/nice -n20 /usr/local/bin/rrdtool"; |