runningInConsole()) { // * FORCE BOOTSTRAP PAGINATOR (or custom if in front) // Early boot, request wont be filled as expected. if (in_array('bo', explode('/', \request()->getPathInfo()))) { Paginator::defaultview('bo.modules.pagination'); } else { Paginator::useBootstrap(); } if (Schema::hasTable('tenants')) { View::share('tenantsGlobal', Tenant::getTenantsCached()); } } } }