summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2012-06-21 16:00:56 +0545
committerPhil Davis <phil.davis@world.inf.org>2012-06-21 16:00:56 +0545
commitc8083ee2d795eaf5f0a5f1f9f5009fd26d255cef (patch)
tree73b453e3acd07b8ed38883b1fb3a0fc65103034a /usr/local
parent119f89c83c5012c825f1b8af476da0d3abe432ce (diff)
downloadpfsense-c8083ee2d795eaf5f0a5f1f9f5009fd26d255cef.zip
pfsense-c8083ee2d795eaf5f0a5f1f9f5009fd26d255cef.tar.gz
Use config array to get the timezone. syscfg is no longer defined here.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/pkg_mgr.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php
index 226e8d1..8df8258 100755
--- a/usr/local/www/pkg_mgr.php
+++ b/usr/local/www/pkg_mgr.php
@@ -44,7 +44,7 @@ require_once("globals.inc");
require_once("guiconfig.inc");
require_once("pkg-utils.inc");
-$timezone = $syscfg['timezone'];
+$timezone = $config['system']['timezone'];
if (!$timezone)
$timezone = "Etc/UTC";
OpenPOWER on IntegriCloud