defaults timezone to UTC if not configured in setup.php
This commit is contained in:
parent
f038fcdb0d
commit
a8f53c0647
3 changed files with 5 additions and 1 deletions
2
ajax.php
2
ajax.php
|
@ -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);
|
||||
|
|
|
@ -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(" ");
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
define("VERSION", "20161103-3");
|
||||
define("VERSION", "20161103-4");
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue