From c8083ee2d795eaf5f0a5f1f9f5009fd26d255cef Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 21 Jun 2012 16:00:56 +0545 Subject: [PATCH] Use config array to get the timezone. syscfg is no longer defined here. --- usr/local/www/pkg_mgr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index 226e8d1dec..8df82584a3 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";