Add db source name to Env.
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user