Пример #1
0
 /**
  * create couchdb instance
  * @param string $pSection
  */
 public function __construct($pSection = 'default')
 {
     parent::__construct($pSection);
     self::$HOST = 'http://localhost';
     self::$PORT = '5984';
     $this->actDb = self::$DATABASE = 'testdb';
 }
Пример #2
0
 /**
  * Constructor
  * @param string $pConfig section of the configuration file
  */
 public function __construct($pConfig = 'default')
 {
     parent::__construct($pConfig);
 }