mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
parent
151ab81a9f
commit
85d86b0623
@ -65,7 +65,8 @@ namespace Orchard.HostContext {
|
||||
LogInfo(context, "Virtual path: \"{0}\"", context.Arguments.VirtualPath);
|
||||
|
||||
if (string.IsNullOrEmpty(context.Arguments.WorkingDirectory))
|
||||
context.Arguments.WorkingDirectory = Environment.CurrentDirectory;
|
||||
context.Arguments.WorkingDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
|
||||
|
||||
LogInfo(context, "Working directory: \"{0}\"", context.Arguments.WorkingDirectory);
|
||||
|
||||
LogInfo(context, "Detecting orchard installation root directory...");
|
||||
|
Loading…
Reference in New Issue
Block a user