mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Ensure list of extensions is validated when creating standalone env
--HG-- branch : dev
This commit is contained in:
@@ -83,6 +83,9 @@ namespace Orchard.Environment {
|
||||
|
||||
IStandaloneEnvironment IOrchardHost.CreateStandaloneEnvironment(ShellSettings shellSettings) {
|
||||
Logger.Debug("Creating standalone environment for tenant {0}", shellSettings.Name);
|
||||
|
||||
MonitorExtensions();
|
||||
BuildCurrent();
|
||||
var shellContext = CreateShellContext(shellSettings);
|
||||
return new StandaloneEnvironment(shellContext.LifetimeScope);
|
||||
}
|
||||
|
Reference in New Issue
Block a user