protected function dbConnect() {
		try {
			$pdo = new PDO('mysql:host=' . conf::$db['host'] . ';dbname=' . conf::$db['name'], conf::$db['user'], conf::$db['pass']);
    		$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
			return $pdo;
		} catch(PDOException $e) {
			return false;
		}
	}