Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/croogo/croogo/Dashboards/config/bootstrap.php
<?php

/**
 * Dashboard URL
 */

use Cake\Core\Configure;
use
Croogo\Core\Utility\StringConverter;
use
Croogo\Dashboards\Configure\DashboardsConfigReader;

if (!
Configure::check('Site.dashboard_url')) {
   
$converter = new StringConverter();
   
Configure::write('Site.dashboard_url', $converter->urlToLinkString([
       
'prefix' => 'admin',
       
'plugin' => 'Croogo/Dashboards',
       
'controller' => 'Dashboards',
       
'action' => 'dashboard',
    ]));
}

Configure::config('dashboards', new DashboardsConfigReader());