fix disabled behavior

This commit is contained in:
Jean-Christian Paul Denis 2022-12-22 22:47:14 +01:00
parent c936ca4abf
commit 872bcb551f
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

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