fixed a few more warnings

This commit is contained in:
Jonathan Labreuille
2016-06-30 15:42:58 +02:00
parent e8887e2aa5
commit 9979261cb6
4 changed files with 9 additions and 12 deletions

View File

@@ -57,11 +57,6 @@ class Initializer {
\ORM::configure(Env::$db_source_name);
\ORM::configure('username', Env::$db_username);
\ORM::configure('password', Env::$db_password);
\ORM::configure('logging', WP_DEBUG);
\ORM::configure('logger', function($query, $time) {
// error_log("\n".$query."\n");
});
\ORM::configure('driver_options', array(
\PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
\PDO::MYSQL_ATTR_INIT_COMMAND =>