From 06c4bb106ed6ef5e3a2f823c1ef78bd1c9bcca28 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 21 Jun 2012 16:02:15 +0545 Subject: Use config array to get the timezone. syscfg is no longer defined here. --- usr/local/www/pkg_mgr_installed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php index b835371..f2e8bcf 100755 --- a/usr/local/www/pkg_mgr_installed.php +++ b/usr/local/www/pkg_mgr_installed.php @@ -40,7 +40,7 @@ require_once("guiconfig.inc"); require_once("pkg-utils.inc"); -$timezone = $syscfg['timezone']; +$timezone = $config['system']['timezone']; if (!$timezone) $timezone = "Etc/UTC"; -- cgit v1.1