From 852343e50b70482c259a5ca9edef4d7eceffcac5 Mon Sep 17 00:00:00 2001 From: dao Date: Thu, 15 Aug 2024 11:11:01 +0800 Subject: [PATCH 1/2] --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 6abc1591c..d41a60343 100644 --- a/.gitignore +++ b/.gitignore @@ -82,3 +82,4 @@ Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js /Learun.Framework.Ultimate V7/Learun.Application.Web/Properties/PublishProfiles /Learun.Framework.Ultimate V7/Learun.Application.WebApi/Properties/PublishProfiles /Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/QRCode +/Learun.Framework.Ultimate V7/Learun.Application.Web/logs From 93823a6bc9da2c356dc07d3495212fe8de3e8e3f Mon Sep 17 00:00:00 2001 From: dao Date: Thu, 15 Aug 2024 11:11:12 +0800 Subject: [PATCH 2/2] --- .../Learun.Util/Learun.Util/Log/LogHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Util/Learun.Util/Log/LogHelper.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Util/Learun.Util/Log/LogHelper.cs index 6261c1c0d..f9a68a245 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Util/Learun.Util/Log/LogHelper.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Util/Learun.Util/Log/LogHelper.cs @@ -11,7 +11,7 @@ namespace Learun.Util.Log { #region log //文件路径 - string path = Path.Combine(Directory.GetCurrentDirectory(), "logs"); + string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "logs"); if (!Directory.Exists(path)) { Directory.CreateDirectory(path);