From 9ad76473475c84101747ee0baa44b0c9bf7750b7 Mon Sep 17 00:00:00 2001 From: Henri Bergius Date: Wed, 27 Feb 2008 15:32:19 +0200 Subject: [PATCH] Make it work again --- plugins/openpsa/sync.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/openpsa/sync.php b/plugins/openpsa/sync.php index 32786ca..67cd644 100644 --- a/plugins/openpsa/sync.php +++ b/plugins/openpsa/sync.php @@ -1,13 +1,13 @@ 'ajatus', 'port' => 8888)); +require('CouchDb/Couch.php'); +$couch = new Couch(array('host' => 'localhost', 'port' => 5984)); if (!$couch->running()) { die("Cannot connect to CouchDB in {$couch->host()}:{$coudh->port()}\n"); } -$couchdb = $couch->database('ajatus_db/content', $couch); +$couchdb = $couch->database('ajatus_db_content', $couch); if(!$couchdb->exists()) { die("CouchDB database {$couchdb->name()} does not exist\n"); -- 2.11.4.GIT