mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
PERF: Don't look for themes in "~/Core".
It's not supported, hence it's unecessary disk I/O. --HG-- branch : 1.x
This commit is contained in:
@@ -84,7 +84,7 @@ namespace Orchard.Environment {
|
||||
builder.RegisterType<ModuleFolders>().As<IExtensionFolders>().SingleInstance()
|
||||
.WithParameter(new NamedParameter("paths", new[] { "~/Core", "~/Modules" }));
|
||||
builder.RegisterType<ThemeFolders>().As<IExtensionFolders>().SingleInstance()
|
||||
.WithParameter(new NamedParameter("paths", new[] { "~/Core", "~/Themes" }));
|
||||
.WithParameter(new NamedParameter("paths", new[] { "~/Themes" }));
|
||||
|
||||
builder.RegisterType<CoreExtensionLoader>().As<IExtensionLoader>().SingleInstance();
|
||||
builder.RegisterType<ReferencedExtensionLoader>().As<IExtensionLoader>().SingleInstance();
|
||||
|
||||
Reference in New Issue
Block a user