Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TeDomum
Pixelfed
Commits
a6ae3f24
Commit
a6ae3f24
authored
Jun 16, 2018
by
kaiyou
Browse files
Allow setting the locale from environment
parent
51723d0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/app.php
View file @
a6ae3f24
...
...
@@ -65,7 +65,7 @@ return [
|
*/
'timezone'
=>
'UTC'
,
'timezone'
=>
env
(
'APP_TIMEZONE'
,
'UTC'
)
,
/*
|--------------------------------------------------------------------------
...
...
@@ -78,7 +78,7 @@ return [
|
*/
'locale'
=>
'en'
,
'locale'
=>
env
(
'APP_LOCALE'
,
'en'
)
,
/*
|--------------------------------------------------------------------------
...
...
@@ -91,7 +91,7 @@ return [
|
*/
'fallback_locale'
=>
'en'
,
'fallback_locale'
=>
env
(
'APP_FALLBACK_LOCALE'
,
'en'
)
,
/*
|--------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment