def __init__(self): phpBB3AuthInterface.__init__(self) self.set_connection_data(config.phpbb_connection_data) self.connect()
def _auth(self): if self.__service_auth is None: self.__service_auth = Authenticator() return self.__service_auth
def __init__(self): self.authenticator = Authenticator DistributionAuthInterface.__init__(self) self.set_connection_data(config.portal_connection_data) self.connect() self.dbconn.set_character_set('utf8')