mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Fixing initial setup screen
Setup module hardcoded descriptor needs Location pointing to ~/Themes --HG-- branch : perf
This commit is contained in:
@@ -105,6 +105,7 @@ namespace Orchard.Setup {
|
|||||||
private readonly ExtensionDescriptor _theme = new ExtensionDescriptor {
|
private readonly ExtensionDescriptor _theme = new ExtensionDescriptor {
|
||||||
Name = "SafeMode",
|
Name = "SafeMode",
|
||||||
DisplayName = "SafeMode",
|
DisplayName = "SafeMode",
|
||||||
|
Location = "~/Themes",
|
||||||
};
|
};
|
||||||
|
|
||||||
public ExtensionDescriptor GetRequestTheme(RequestContext requestContext) { return _theme; }
|
public ExtensionDescriptor GetRequestTheme(RequestContext requestContext) { return _theme; }
|
||||||
@@ -165,7 +166,7 @@ namespace Orchard.Setup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ResourceDebugMode ResourceDebugMode {
|
public ResourceDebugMode ResourceDebugMode {
|
||||||
get { return ResourceDebugMode.FromAppSetting; }
|
get { return ResourceDebugMode.FromAppSetting; }
|
||||||
set { throw new NotImplementedException(); }
|
set { throw new NotImplementedException(); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user