diff options
author | Phil Davis <phil.davis@world.inf.org> | 2012-06-21 16:00:56 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2012-06-21 16:00:56 +0545 |
commit | c8083ee2d795eaf5f0a5f1f9f5009fd26d255cef (patch) | |
tree | 73b453e3acd07b8ed38883b1fb3a0fc65103034a /usr/local | |
parent | 119f89c83c5012c825f1b8af476da0d3abe432ce (diff) | |
download | pfsense-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-x | usr/local/www/pkg_mgr.php | 2 |
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"; |