mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
set mysqli time_zone
This commit is contained in:
@@ -15,6 +15,7 @@ class DBMysqli implements DBInterface
|
||||
$mysqli->query("SET NAMES UTF8");
|
||||
$mysqli->query("SET collation_connection = 'utf8_general_ci'");
|
||||
$mysqli->query("SET sql_mode=''");
|
||||
$mysqli->query("SET time_zone='".date('P')."'");
|
||||
|
||||
/* activate reporting */
|
||||
$driver = new \mysqli_driver();
|
||||
|
||||
Reference in New Issue
Block a user