summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2013-02-28 13:46:11 +0000
committerSimon Holywell <[email protected]>2013-02-28 13:46:11 +0000
commita4b088a4df13445bff46cdd0521a70d523913958 (patch)
tree1e73935149b9d214fffa8b77547572880a2a42ae /docs
parent3654d5646cc1951ff1c8bd8f0210e12fd79f9010 (diff)
Document array config to use connection_string
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration.rst b/docs/configuration.rst
index d464032..bfb50c2 100644
--- a/docs/configuration.rst
+++ b/docs/configuration.rst
@@ -82,7 +82,7 @@ configuration array shortcut:
::
ORM::configure(array(
- 'mysql:host=localhost;dbname=my_database',
+ 'connection_string' => 'mysql:host=localhost;dbname=my_database',
'username' => 'database_user',
'password' => 'top_secret'
));
@@ -243,4 +243,4 @@ Warnings and gotchas
.. _the PDO documentation: http://www.php.net/manual/en/pdo.construct.php
.. _the PDO set attribute documentation: http://uk2.php.net/manual/en/pdo.setattribute.php
.. _PDOStatement documentation: http://www.php.net/manual/en/class.pdostatement.php
-.. _Memcached: http://www.memcached.org/ \ No newline at end of file
+.. _Memcached: http://www.memcached.org/