PHP Classes
elePHPant
Icontem

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: 5 years ago
Size: 437 bytes
 

Contents

Class file image Download
<?php

$config
= 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";