1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 11:52:34 +01:00

Merge pull request #255 from olexus/master

Add Carbon localization support
This commit is contained in:
Dan Brown 2016-12-31 14:36:01 +00:00 committed by GitHub
commit 9fe158b78a

View File

@ -16,6 +16,7 @@ class AppServiceProvider extends ServiceProvider
$imageMimes = ['image/png', 'image/bmp', 'image/gif', 'image/jpeg', 'image/jpg', 'image/tiff', 'image/webp'];
return in_array($value->getMimeType(), $imageMimes);
});
Carbon::setLocale(Config::get('app.locale'));
}