diff mgallery.inc.php @ 130:f825d644cf7a

Implement new config setting "timezone" for specifying the timezone used for date/timestamp interpretation.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 01 Sep 2017 00:44:52 +0300
parents 3ee66c432081
children a6c173e3a175
line wrap: on
line diff
--- a/mgallery.inc.php	Fri Sep 01 00:44:03 2017 +0300
+++ b/mgallery.inc.php	Fri Sep 01 00:44:52 2017 +0300
@@ -54,6 +54,7 @@
 // Configuration settings and their default values
 //
 $mgDefaults = [
+  "timezone"         => [MG_STR, NULL],
 
   "base_path"        => [MG_STR, mgPathName(mgRealPath($_SERVER["SCRIPT_FILENAME"]))],
   "base_url"         => [MG_STR, mgPathName($_SERVER["PHP_SELF"])],