This commit is contained in:
2020-08-11 23:04:00 +00:00
parent 5e41a8360c
commit 655fb642c7
5 changed files with 41 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ namespace AyaNova
{
var nlogLoggerProvider = new NLogLoggerProvider();
_newLog = nlogLoggerProvider.CreateLogger("SERVER");
_hostingEnvironment = hostingEnvironment;
_hostingEnvironment = hostingEnvironment;
AyaNova.Util.ApplicationLogging.LoggerProvider = nlogLoggerProvider;
ServerBootConfig.AYANOVA_CONTENT_ROOT_PATH = hostingEnvironment.ContentRootPath;
}
@@ -43,6 +43,8 @@ namespace AyaNova
private string _connectionString = "";
private readonly Microsoft.AspNetCore.Hosting.IWebHostEnvironment _hostingEnvironment;
////////////////////////////////////////////////////////////
//
//