summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2012-11-12 15:56:42 +0000
committerSimon Holywell <[email protected]>2012-11-12 15:56:42 +0000
commitbaf16a8a6089f69629b0a789eb5670008e96e76a (patch)
tree7ecb27a8ccf90a4837bcf8408799a63380081e16
parent3c082ca31f092f37a58d3412aa5fb07fa32a19f9 (diff)
A couple of documentation optimisations
-rw-r--r--README.markdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown
index 01e7bd2..f1fb65a 100644
--- a/README.markdown
+++ b/README.markdown
@@ -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: