Commit 81aaa254 authored by Goldenscarab's avatar Goldenscarab

idem

parent 5d32b4d7
......@@ -23,7 +23,7 @@ class ModuleService
public function getModulesConfig()
{
$configs = Cache::remember('module.configs', config('cache.expire'), function () {
$configs = Cache::remember('module.configs', config('cache.expire', 60), function () {
$module_repo = new ModuleRepository;
......
......@@ -25,7 +25,7 @@ class ModulusServiceProvider extends ServiceProvider
return true;
}
$modulus_view = trim(config('modulus.url_prefix', '/')) . '*';
$modulus_view = trim(config('modulus.url_prefix'), '/') . '*';
// Configuration de Carbon dans la langue locale
Carbon::setLocale(config('app.locale'));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment