예제 #1
0
파일: _keylime.php 프로젝트: rjb/KeylimePHP
 private function __construct()
 {
     // Get db configuration and then connect
     $dsn = DBConfig::dbVars();
     $this->dbconn =& DB::Connect($dsn, array());
     if (PEAR::isError($this->dbconn)) {
         throw new Exception('Unable to connect to the database');
     }
 }