master
Jean-Christian Paul Denis 2022-12-08 00:20:00 +01:00
parent 8f24e559b8
commit ddaef81d36
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 5 additions and 5 deletions

View File

@ -18,10 +18,10 @@ dcCore::app()->blog->settings->addNamespace('licenseBootstrap');
dcCore::app()->addBehavior('adminDashboardFavoritesV2', function ($favs) {
$favs->register('licenseBootstrap', [
'title' => __('License bootstrap'),
'url' => dcCore::app()->adminurl->get('admin.plugin.licenseBootstrap'),
'small-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
'large-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
'title' => __('License bootstrap'),
'url' => dcCore::app()->adminurl->get('admin.plugin.licenseBootstrap'),
'small-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
'large-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
//'permissions' => dcCore::app()->auth->isSuperAdmin(),
]);
});

View File

@ -15,6 +15,6 @@ if (!defined('DC_RC_PATH')) {
}
Clearbricks::lib()->autoload([
'licenseBootstrap' => __DIR__ . '/inc/class.license.bootstrap.php',
'licenseBootstrap' => __DIR__ . '/inc/class.license.bootstrap.php',
'libLicenseBootstrap' => __DIR__ . '/inc/lib.license.bootstrap.php',
]);