summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_installed.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2012-06-21 16:02:15 +0545
committerPhil Davis <phil.davis@world.inf.org>2012-06-21 16:02:15 +0545
commit06c4bb106ed6ef5e3a2f823c1ef78bd1c9bcca28 (patch)
tree1fab9233245f0c9ac720cfe9b297877bfb871f9d /usr/local/www/pkg_mgr_installed.php
parentc8083ee2d795eaf5f0a5f1f9f5009fd26d255cef (diff)
downloadpfsense-06c4bb106ed6ef5e3a2f823c1ef78bd1c9bcca28.zip
pfsense-06c4bb106ed6ef5e3a2f823c1ef78bd1c9bcca28.tar.gz
Use config array to get the timezone. syscfg is no longer defined here.
Diffstat (limited to 'usr/local/www/pkg_mgr_installed.php')
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php2
1 files changed, 1 insertions, 1 deletions
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";
OpenPOWER on IntegriCloud