Exemplo n.º 1
0
        private ISiteConfig getSiteConfig(Boolean isEnableUserSpace)
        {
            WojiluSiteConfig s = new WojiluSiteConfig();

            s.AdministratorId = 1;
            s.NormalRoleId    = 2;
            s.UserSkinId      = 1;

            s.ReservedKey      = new string[] { };
            s.ReservedUserName = new string[] { };
            s.ReservedUserUrl  = new string[] { };

            s.MsgTitle = "";
            s.MsgBody  = "";

            s.IsSendMsg         = false;             // 不发送欢迎短信
            s.IsEnableUserSpace = isEnableUserSpace; // 是否开启用户空间

            s.Md5Is16 = false;

            return(s);
        }
Exemplo n.º 2
0
        private ISiteConfig getSiteConfig( Boolean isEnableUserSpace )
        {
            WojiluSiteConfig s = new WojiluSiteConfig();
            s.AdministratorId = 1;
            s.NormalRoleId = 2;
            s.UserSkinId = 1;

            s.ReservedKey = new string[] { };
            s.ReservedUserName = new string[] { };
            s.ReservedUserUrl = new string[] { };

            s.MsgTitle = "";
            s.MsgBody = "";

            s.IsSendMsg = false; // 不发送欢迎短信
            s.IsEnableUserSpace = isEnableUserSpace; // 是否开启用户空间

            s.Md5Is16 = false;

            return s;
        }