This commit is contained in:
2018-09-17 23:41:42 +00:00
parent 987dd0c549
commit 8c4319f094
6 changed files with 85 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Extensions.Configuration;
@@ -11,6 +12,14 @@ namespace AyaNova.Util
internal static class ServerBootConfig
{
//Diagnostic static values used during development, may not be related to config at all, this is just a convenient class to put them in
#if (DEBUG)
internal static List<string> LocaleKeysRequested { get; set; }
#endif
//CONTENTROOTPATH
internal static string AYANOVA_CONTENT_ROOT_PATH { get; set; } //Note: set in startup.cs, not in program.cs as it requires startup IHostingEnvironment
@@ -55,6 +64,11 @@ namespace AyaNova.Util
/// <param name="config"></param>
internal static void SetConfiguration(IConfigurationRoot config)
{
#if (DEBUG)
LocaleKeysRequested = new List<string>();
#endif
bool? bTemp = null;
#region SERVER BASICS