Skip to content

Commit 9fd3fd5

Browse files
committed
Configure database timezone
1 parent 13335cb commit 9fd3fd5

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

composer.lock

+10-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

etc/config.sample.json

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
}
9595
],
9696
"timeout": 3,
97+
"timezone": "+00:00",
9798
"username": "bnetdocs"
9899
},
99100
"recaptcha": {

src/main.php

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ function main() {
6767
DatabaseDriver::$password = Common::$config->mysql->password;
6868
DatabaseDriver::$servers = Common::$config->mysql->servers;
6969
DatabaseDriver::$timeout = Common::$config->mysql->timeout;
70+
DatabaseDriver::$timezone = Common::$config->mysql->timezone;
7071
DatabaseDriver::$username = Common::$config->mysql->username;
7172

7273
Authentication::verify();

0 commit comments

Comments
 (0)