Example #1
0
 /**
  * Initialise database connection.
  */
 private static function _init()
 {
     self::$_dbc = new mysqli_Extended(DBI::HOST, DBI::USER, DBI::PASSWORD, DBI::DB);
     if (self::$_dbc->connect_error) {
         die('Connect Error (' . self::$_dbc->connect_errno . ') ' . self::$_dbc->connect_error);
     }
     #print __CLASS__ . ': '. self::$_dbc->client_info . "\n";
 }