Skip to content

Commit

Permalink
A couple of documentation optimisations
Browse files Browse the repository at this point in the history
  • Loading branch information
treffynnon committed Nov 12, 2012
1 parent 3c082ca commit baf16a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ First, `require` the Idiorm source file:

require_once 'idiorm.php';

Then, pass a *Data Source Name* connection string to the `configure` method of the ORM class. This is used by PDO to connect to your database. For more information, see the [PDO documentation](http://uk2.php.net/manual/en/pdo.construct.php).
Then, pass a *Data Source Name* connection string to the `configure` method of the ORM class. This is used by PDO to connect to your database. For more information, see the [PDO documentation](http://php.net/manual/en/pdo.construct.php).

ORM::configure('sqlite:./example.db');

You may also need to pass a username and password to your database driver, using the `username` and `password` configuration options. For example, if you are using MySQL:
Expand Down

0 comments on commit baf16a8

Please sign in to comment.