fix WebConfigSettings
This commit is contained in:
@@ -20,12 +20,17 @@ namespace WebConfigSetter
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
protected static string baseDir { get; set; } = $"{Environment.CurrentDirectory}";
|
||||
protected static string baseDir { get; set; } = @"c:\Steamware\WebConfigSetter";
|
||||
#if DEBUG
|
||||
protected static string baseWebAppDir { get; set; } = @"\\iis02\c$\inetpub\wwwroot\MP\";
|
||||
protected static string confDir { get; set; } = $"{baseDir}\\CONF";
|
||||
#else
|
||||
protected static string baseWebAppDir { get; set; } = @"c:\inetpub\wwwroot\MP\";
|
||||
|
||||
protected static string currentSetFile { get; set; } = $"{confDir}\\default.json";
|
||||
protected static string globalConfFile { get; set; } = $"{confDir}\\settings.json";
|
||||
#endif
|
||||
protected static string confDir { get; set; } = $@"{baseDir}\CONF";
|
||||
|
||||
protected static string currentSetFile { get; set; } = $@"{confDir}\default.json";
|
||||
protected static string globalConfFile { get; set; } = $@"{confDir}\settings.json";
|
||||
|
||||
/// <summary>
|
||||
/// modalità scrittura (altrimenti legge e carica conf parsando i files)
|
||||
|
||||
Reference in New Issue
Block a user