fix disabled behavior

master
Jean-Christian Paul Denis 2022-12-22 22:47:14 +01:00
parent c936ca4abf
commit 872bcb551f
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@ dcCore::app()->addBehavior('adminDashboardFavoritesV2', function ($favs) {
}); });
dcCore::app()->addBehavior('packmanBeforeCreatePackage', function ($module) { dcCore::app()->addBehavior('packmanBeforeCreatePackage', function ($module) {
licenseBootstrap::addLicense($module); if (dcCore::app()->blog->settings->get(basename(__DIR__))->get('behavior_packman')) {
licenseBootstrap::addLicense($module);
}
}); });
dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem( dcCore::app()->menu[dcAdmin::MENU_PLUGINS]->addItem(