Exemple #1
0
 public void SetDefaults()
 {
     DevEnvironment        = false;
     Migrate               = false;
     UseCdn                = false;
     Title                 = string.Empty;
     Description           = string.Empty;
     Author                = string.Empty;
     Host                  = string.Empty;
     SupportEmail          = string.Empty;
     NoReplyEmail          = string.Empty;
     BitcoinAddress        = string.Empty;
     Salt1                 = string.Empty;
     Salt2                 = string.Empty;
     CdnHost               = string.Empty;
     IPBlacklistFile       = string.Empty;
     ReferrerBlacklistFile = string.Empty;
     PublicKeys            = new List <string>();
     UserConfig            = new UserConfig();
     EmailConfig           = new EmailConfig();
     ContactConfig         = new ContactConfig();
     GitConfig             = new GitConfig();
     BlogConfig            = new BlogConfig();
     UploadConfig          = new UploadConfig();
     PasteConfig           = new PasteConfig();
     ApiConfig             = new ApiConfig();
     PodcastConfig         = new PodcastConfig();
     StreamConfig          = new StreamConfig();
     ShortenerConfig       = new ShortenerConfig();
     VaultConfig           = new VaultConfig();
     StatsConfig           = new StatsConfig();
     LoggingConfig         = new LoggingConfig();
     PiwikConfig           = new PiwikConfig();
     IRCConfig             = new IRCConfig();
 }
Exemple #2
0
 public void SetDefaults()
 {
     DevEnvironment      = false;
     Migrate             = false;
     UseCdn              = false;
     Title               = string.Empty;
     Description         = string.Empty;
     Author              = string.Empty;
     Host                = string.Empty;
     SupportEmail        = string.Empty;
     NoReplyEmail        = string.Empty;
     BitcoinAddress      = string.Empty;
     Salt1               = string.Empty;
     Salt2               = string.Empty;
     CdnHost             = string.Empty;
     UserConfig          = new UserConfig();
     EmailConfig         = new EmailConfig();
     ContactConfig       = new ContactConfig();
     GitConfig           = new GitConfig();
     BlogConfig          = new BlogConfig();
     UploadConfig        = new UploadConfig();
     PasteConfig         = new PasteConfig();
     ApiConfig           = new ApiConfig();
     PodcastConfig       = new PodcastConfig();
     StreamConfig        = new StreamConfig();
     ShortenerConfig     = new ShortenerConfig();
     TransparencyConfig  = new TransparencyConfig();
     DatabaseConfig      = new DatabaseConfig();
     PiwikConfig         = new PiwikConfig();
 }