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