defaults timezone to UTC if not configured in setup.php

This commit is contained in:
dg9vh 2016-11-03 20:18:32 +00:00
parent f038fcdb0d
commit a8f53c0647
3 changed files with 5 additions and 1 deletions

View file

@ -9,6 +9,8 @@ include "include/functions.php";
$mmdvmconfigs = getMMDVMConfig();
if (!defined("MMDVMLOGPREFIX"))
define("MMDVMLOGPREFIX", getConfigItem("Log", "FileRoot", $mmdvmconfigs));
if (!defined("TIMEZONE"))
define("TIMEZONE", "UTC");
$logLinesMMDVM = getMMDVMLog();
$reverseLogLinesMMDVM = $logLinesMMDVM;
array_multisort($reverseLogLinesMMDVM,SORT_DESC);

View file

@ -3,6 +3,8 @@
$mmdvmconfigs = getMMDVMConfig();
if (!defined("MMDVMLOGPREFIX"))
define("MMDVMLOGPREFIX", getConfigItem("Log", "FileRoot", $mmdvmconfigs));
if (!defined("TIMEZONE"))
define("TIMEZONE", "UTC");
$logLinesMMDVM = getMMDVMLog();
showLapTime("getMMDVMLog");
//getNames(" ");

View file

@ -1,3 +1,3 @@
<?php
define("VERSION", "20161103-3");
define("VERSION", "20161103-4");
?>