Skip to content

Commit

Permalink
Merge pull request #2 from sosuke-ito/use-given-db-config
Browse files Browse the repository at this point in the history
use constructor-given DB connection setup
  • Loading branch information
koriym authored Oct 4, 2016
2 parents 38f4b32 + 37c8b87 commit 92453c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DbAppPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ protected function configure()
// database
$this->install(
new AuraSqlModule(
$_ENV['DB_DSN'],
$_ENV['DB_USER'],
$_ENV['DB_PASS'],
$_ENV['DB_READ']
$this->dsn,
$this->user,
$this->pass,
$this->read
)
);
$this->install(new QueryLocatorModule($this->dbDir . '/sql'));
Expand Down

0 comments on commit 92453c2

Please sign in to comment.