mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
460 B
20 lines
460 B
using Volo.Abp.GlobalFeatures;
|
|
using Volo.Abp.Threading;
|
|
using Volo.CmsKit.GlobalFeatures;
|
|
|
|
namespace Volo.CmsKit
|
|
{
|
|
public static class FeatureConfigurer
|
|
{
|
|
private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunner();
|
|
|
|
public static void Configure()
|
|
{
|
|
OneTimeRunner.Run(() =>
|
|
{
|
|
GlobalFeatureManager.Instance.Modules.CmsKit().EnableAll();
|
|
});
|
|
}
|
|
}
|
|
}
|