Skip to content
Snippets Groups Projects
Commit d8adf850 authored by JediKev's avatar JediKev
Browse files

db: System Time Zone

This updates the change made in d227d54e to use the system time zone rather
than the global time zone.
parent d227d54e
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ function db_connect($host, $user, $passwd, $options = array()) { ...@@ -74,7 +74,7 @@ function db_connect($host, $user, $passwd, $options = array()) {
'CHARACTER SET' => 'utf8', 'CHARACTER SET' => 'utf8',
'COLLATION_CONNECTION' => 'utf8_general_ci', 'COLLATION_CONNECTION' => 'utf8_general_ci',
'SQL_MODE' => '', 'SQL_MODE' => '',
'TIME_ZONE' => '@@global.time_zone', 'TIME_ZONE' => 'SYSTEM',
), 'session'); ), 'session');
$__db->set_charset('utf8'); $__db->set_charset('utf8');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment