Commit: eab53a4fbb9f7b1bcfcbad0858cd59b65c24b631
Author: gwoo | Date: 2010-03-12 10:38:02 -0800
diff --git a/config/bootstrap.php b/config/bootstrap.php
index 44b6d0d..b5f2a18 100644
--- a/config/bootstrap.php
+++ b/config/bootstrap.php
@@ -8,12 +8,10 @@
use \lithium\data\Connections;
-Connections::add('li3_lab', 'http', array(
- 'adapter' => 'CouchDb',
- 'host' => '127.0.0.1',
- 'port' => '5984'
+Connections::add('li3_lab', array(
+ 'type' => 'http', 'adapter' => 'CouchDb', 'port' => 5984,
+ 'database' => 'li3_lab'
));
-
-Connections::add('resources', 'Media', array('path' => '/resources'));
+Connections::add('resources', array('type' => 'Media', 'path' => '/resources'));
?>
\ No newline at end of file