Skip to content

Commit

Permalink
adding version 1 to couchdb by default as workaround for php context bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gwoo committed Aug 11, 2010
1 parent a00c0e8 commit 17e0091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/lithium/data/source/http/adapter/CouchDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class CouchDb extends \lithium\data\source\Http {
* @return void
*/
public function __construct(array $config = array()) {
$defaults = array('port' => 5984);
$defaults = array('port' => 5984, 'version' => 1);
parent::__construct($config + $defaults);
}

Expand Down

0 comments on commit 17e0091

Please sign in to comment.