summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2012-06-21 15:59:34 +0545
committerPhil Davis <phil.davis@world.inf.org>2012-06-21 15:59:34 +0545
commit119f89c83c5012c825f1b8af476da0d3abe432ce (patch)
treeebe24409a988a9b9ec6c2ecef5936845bf2ff6e3
parente4610069dec703e199828ce2e150acc555e4887e (diff)
downloadpfsense-119f89c83c5012c825f1b8af476da0d3abe432ce.zip
pfsense-119f89c83c5012c825f1b8af476da0d3abe432ce.tar.gz
Use config array to get the timezone. syscfg is no longer defined here.
-rwxr-xr-xusr/local/www/guiconfig.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 3d750f3..b2dd2a9 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -1113,7 +1113,7 @@ function rule_popup($src,$srcport,$dst,$dstport){
}
}
-$timezone = $syscfg['timezone'];
+$timezone = $config['system']['timezone'];
if (!$timezone)
$timezone = "Etc/UTC";
OpenPOWER on IntegriCloud