mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use config array to get the timezone. syscfg is no longer defined here.
This commit is contained in:
parent
119f89c83c
commit
c8083ee2d7
@ -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";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user