cosmetic
This commit is contained in:
parent
8f24e559b8
commit
ddaef81d36
@ -18,10 +18,10 @@ dcCore::app()->blog->settings->addNamespace('licenseBootstrap');
|
|||||||
|
|
||||||
dcCore::app()->addBehavior('adminDashboardFavoritesV2', function ($favs) {
|
dcCore::app()->addBehavior('adminDashboardFavoritesV2', function ($favs) {
|
||||||
$favs->register('licenseBootstrap', [
|
$favs->register('licenseBootstrap', [
|
||||||
'title' => __('License bootstrap'),
|
'title' => __('License bootstrap'),
|
||||||
'url' => dcCore::app()->adminurl->get('admin.plugin.licenseBootstrap'),
|
'url' => dcCore::app()->adminurl->get('admin.plugin.licenseBootstrap'),
|
||||||
'small-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
|
'small-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
|
||||||
'large-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
|
'large-icon' => urldecode(dcPage::getPF('licenseBootstrap/icon.svg')),
|
||||||
//'permissions' => dcCore::app()->auth->isSuperAdmin(),
|
//'permissions' => dcCore::app()->auth->isSuperAdmin(),
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
@ -15,6 +15,6 @@ if (!defined('DC_RC_PATH')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Clearbricks::lib()->autoload([
|
Clearbricks::lib()->autoload([
|
||||||
'licenseBootstrap' => __DIR__ . '/inc/class.license.bootstrap.php',
|
'licenseBootstrap' => __DIR__ . '/inc/class.license.bootstrap.php',
|
||||||
'libLicenseBootstrap' => __DIR__ . '/inc/lib.license.bootstrap.php',
|
'libLicenseBootstrap' => __DIR__ . '/inc/lib.license.bootstrap.php',
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user