<gh_stars>0
#coding:utf8
'''
Created on 2013-8-14

@author: lan
'''
import memmode
from firefly.dbentrust.madminanager import MAdminManager

def load_config_data():
    """从数据库中读取配置信息
    """

    
def registe_madmin():
    """注册数据库与memcached对应
    """
    MAdminManager().registe( memmode.tb_character_admin)
    MAdminManager().registe( memmode.tb_item_admin)
    MAdminManager().registe( memmode.tb_itemopen_admin)

    MAdminManager().registe( memmode.tb_skill_admin)
    MAdminManager().registe( memmode.tb_specskill_admin)
    MAdminManager().registe( memmode.tb_pet_admin)

    MAdminManager().registe( memmode.tb_petskill_admin)
    MAdminManager().registe( memmode.tb_partner_admin)
    MAdminManager().registe( memmode.tb_partnerskill_admin)
    
    
    
    
    