runningInConsole()) { $appInfos = Cache::remember('composer', 3600, function () { return json_decode(File::get(\app_path('../composer.json'))); }); View::share('name', $appInfos->name); View::share('version', $appInfos->version); View::share('license', $appInfos->license); // * Informations $infos = Cache::remember('infos', 3600, function () { return Information::all(); }); View::share('informations', $infos); // * FORCE BOOTSTRAP PAGINATOR Paginator::defaultView('bo.modules.pagination'); } //end if } }