$conf->get("db"); $dbType = $db_conf["type"]; include($dbType."_conn.inc"); } function __construct () { $this->$conf = Conf::instance(); $this->getDBH(); $this->$dbh = new db_handle(); } function dbExec ($sql) { return $this->$dbh->sel($sql); } function dbSel ($sql) { return $this->$dbh->sel($sql); } function dbIns ($sql) { return $this->$dbh->ins($sql); } } ?>