Fixed stats for welcome emails

- re-added ORM logging in order to debug queries
- fixed subscription confirmation / unsubscribe due to API refactor
This commit is contained in:
Jonathan Labreuille
2016-07-11 14:42:13 +02:00
parent a5300624c2
commit 101ef0cff4
3 changed files with 58 additions and 26 deletions

View File

@@ -56,6 +56,7 @@ 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('driver_options', array(
\PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
\PDO::MYSQL_ATTR_INIT_COMMAND =>