Add db source name to Env.

This commit is contained in:
marco
2015-08-07 12:57:12 +02:00
parent 90d941acb8
commit 065afb9c61
3 changed files with 36 additions and 8 deletions

View File

@@ -19,6 +19,10 @@ class Initializer {
'version' => '1.0.0'
)) {
Env::init();
/* ORM::configure('mysql:host=localhost;dbname=my_database'); */
/* ORM::configure('username', Env::$db_username); */
/* ORM::configure('password', Env::$db_password); */
$this->data = array();
$this->version = $params['version'];
$this->shortname = 'wysija-newsletters';