Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
olexus
2016-12-19 11:05:06 +0300
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
f30f4579e9d400c9d46e3fd5d7f1dade267eef25
f30f4579
1 parent
286f9b0c
Add Carbon localization support
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
app/Providers/AppServiceProvider.php
app/Providers/AppServiceProvider.php
View file @
f30f457
...
...
@@ -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'
));
}
...
...
Please
register
or
sign in
to post a comment