diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-23 13:25:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-23 13:25:45 +0000 |
commit | e5fca185d3735d6fe0ad0c77e14fae3fe9564465 (patch) | |
tree | 33524b0fc2aa451cc043618a84e6e33371f854db /usr | |
parent | be04ff69dee3b2d8195199832d328bf691b99ed0 (diff) | |
download | pfsense-e5fca185d3735d6fe0ad0c77e14fae3fe9564465.zip pfsense-e5fca185d3735d6fe0ad0c77e14fae3fe9564465.tar.gz |
Make sure $config is a global
Fixes Ticket #99
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/index.php | 1 |
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 |