Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
don
Commits
5619a40c
Commit
5619a40c
authored
Nov 17, 2020
by
Bastien Le Querrec
Browse files
lint
0df3de63
parent
9aea426a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/controller/controller.php
View file @
5619a40c
...
...
@@ -62,7 +62,9 @@ class Controller
putenv
(
"LC_MESSAGES="
.
$lang
.
".utf8"
);
putenv
(
"LANG="
.
$lang
.
".utf8"
);
putenv
(
"LANGUAGE="
.
$lang
.
".utf8"
);
if
(
!
setlocale
(
LC_ALL
,
$lang
.
".utf8"
))
echo
"<!-- setlocale
$lang
failed -->"
;
if
(
!
setlocale
(
LC_ALL
,
$lang
.
".utf8"
))
{
echo
"<!-- setlocale
$lang
failed -->"
;
}
}
if
(
!
textdomain
(
"messages"
))
{
...
...
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