Login   Register  
PHP Classes

File: config.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jo Giraerts  >  CouchDB Session Handler  >  config.inc.php  >  Download  
File: config.inc.php
Role: Configuration script
Content type: text/plain
Description: Config file
Class: CouchDB Session Handler
Session handler that stores data in CouchDB
Author: By
Last change:
Date: 4 years ago
Size: 437 bytes


Class file image Download

= new stdClass;
$config->couchdb = new stdClass;
$config->couchdb->host 'localhost';
$config->couchdb->port '5984';
$config->couchdb->dbname 'test_sessions';

// credentials of admin user on couchdb so we can create the db if it doesn't exist
// Once the database is created, you can delete this line if you don't like your credentials in web-readable files
$config->couchdb->credentials "admin:myadminpassword"