Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed Query config comments
  • Loading branch information
bigonese committed Sep 30, 2016
1 parent 4e4680b commit 897ab15
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,14 @@ Firelit\Registry::set('database', array(
'dsn' => 'sqlite::memory:'
));

// Alternatively, database settings can be specified with define's
define("DB_NAME", 'database');
define("DB_HOST", 'localhost');
define("DB_PORT", '3306');
define("DB_USER", 'username');
define("DB_PASS", 'password');
/*
Alternatively, database settings can be specified using the following environmental variables:
- DB_NAME
- DB_HOST
- DB_PORT
- DB_USER
- DB_PASS
*/

$q = new Firelit\Query();

Expand Down

0 comments on commit 897ab15

Please sign in to comment.