From e5fca185d3735d6fe0ad0c77e14fae3fe9564465 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 23 May 2005 13:25:45 +0000 Subject: Make sure $config is a global Fixes Ticket #99 --- usr/local/www/index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'usr') 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 -- cgit v1.1