summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-23 13:25:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-23 13:25:45 +0000
commite5fca185d3735d6fe0ad0c77e14fae3fe9564465 (patch)
tree33524b0fc2aa451cc043618a84e6e33371f854db /usr
parentbe04ff69dee3b2d8195199832d328bf691b99ed0 (diff)
downloadpfsense-e5fca185d3735d6fe0ad0c77e14fae3fe9564465.zip
pfsense-e5fca185d3735d6fe0ad0c77e14fae3fe9564465.tar.gz
Make sure $config is a global
Fixes Ticket #99
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index ed3c3ba..5589947 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -119,6 +119,7 @@ return $cpuUsage;
}
function get_pfstate() {
+ global $config, $g;
if (isset($config['system']['maximumstates']))
$maxstates="/{$config['system']['maximumstates']}";
else
OpenPOWER on IntegriCloud