Commit dc0d9427 authored by Eric - kg6wxc's avatar Eric - kg6wxc
Browse files

bugfix: set global timezone value in get-map-info

parent 7de7be9f
......@@ -119,6 +119,9 @@ wxc_checkConfigs();
//what time is it now? returns a DateTime Object with current time.
date_default_timezone_set($USER_SETTINGS['localTimeZone']);
$currentTime = wxc_getCurrentDateTime();
//setting our global TimeZone
global $localTimeZone;
$localTimeZone = new DateTimeZone($USER_SETTINGS['localTimeZone']);
//what do we want to use in the sql server
$sql_db_tbl = $USER_SETTINGS['sql_db_tbl'];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment