mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
Moving hardcoded features from setup into a recipe file.
--HG-- branch : recipe
This commit is contained in:
@@ -9,8 +9,11 @@
|
||||
<Version>1.0</Version>
|
||||
</Recipe>
|
||||
|
||||
<Feature disable="Orchard.Media" enable="Orchard.Experimental" />
|
||||
|
||||
<Feature enable="Orchard.PublishLater,Orchard.Blogs,Orchard.Comments,Orchard.ContentTypes,
|
||||
Orchard.jQuery,Orchard.Lists,Orchard.Media,
|
||||
Orchard.Tags,Orchard.Scripting,Orchard.Scripting.Lightweight,
|
||||
TinyMce,PackagingServices,Orchard.Packaging,Gallery,TheThemeMachine,Orchard.Experimental" />
|
||||
|
||||
<Metadata>
|
||||
<Types>
|
||||
<Page ContentTypeSettings.Draftable="True" TypeIndexing.Included="true">
|
||||
|
@@ -93,34 +93,14 @@ namespace Orchard.Setup.Services {
|
||||
"Scheduling",
|
||||
"Settings",
|
||||
"Shapes",
|
||||
|
||||
// Other
|
||||
"Orchard.PublishLater", // todo: (sebros) remove
|
||||
"Orchard.Blogs",
|
||||
"Orchard.Comments",
|
||||
"Orchard.ContentTypes",
|
||||
"Orchard.jQuery",
|
||||
"Orchard.Lists",
|
||||
"Orchard.Media",
|
||||
"Orchard.Modules",
|
||||
|
||||
"Orchard.Pages",
|
||||
"Orchard.Recipes",
|
||||
"Orchard.Roles",
|
||||
"Orchard.Tags",
|
||||
"Orchard.Widgets",
|
||||
"Orchard.Themes",
|
||||
"Orchard.Users",
|
||||
"Orchard.Scripting",
|
||||
"Orchard.Scripting.Lightweight",
|
||||
"Orchard.Widgets",
|
||||
"TinyMce",
|
||||
|
||||
// Gallery/Packaging
|
||||
"PackagingServices",
|
||||
"Orchard.Packaging",
|
||||
"Gallery",
|
||||
|
||||
// Themes
|
||||
"TheThemeMachine",
|
||||
"Orchard.Roles",
|
||||
"Orchard.Modules",
|
||||
"Orchard.Recipes"
|
||||
};
|
||||
|
||||
context.EnabledFeatures = hardcoded;
|
||||
|
Reference in New Issue
Block a user