Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Cronlog-viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Cronlog-viewer
Merge requests
!10
multi language support
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
multi language support
restyle-adminlte
into
master
Overview
0
Commits
5
Pipelines
0
Changes
11
Merged
multi language support
Hahn Axel (hahn)
requested to merge
restyle-adminlte
into
master
Jan 23, 2023
Overview
0
Commits
5
Pipelines
0
Changes
2
0
0
Merge request reports
Compare
version 2
version 2
4604e92a
Jan 27, 2023
version 1
6bc451a9
Jan 23, 2023
master (base)
and
latest version
latest version
b3963193
5 commits,
Jan 27, 2023
version 2
4604e92a
2 commits,
Jan 27, 2023
version 1
6bc451a9
1 commit,
Jan 23, 2023
Show latest version
2 files
+
7
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
classes/cronlog.class.php
+
6
−
1
View file @ b3963193
Edit in single-file editor
Open in Web IDE
Show full file
@@ -78,7 +78,12 @@ class cronlog {
$this
->
_aSkipJoblogs
=
isset
(
$aCfgTemp
[
'aHidelogs'
])
&&
is_array
(
$aCfgTemp
[
'aHidelogs'
])
?
$aCfgTemp
[
'aHidelogs'
]
:
$this
->
_aSkipJoblogs
;
$this
->
_aInstances
=
isset
(
$aCfgTemp
[
'instances'
])
?
$aCfgTemp
[
'instances'
]
:
[];
$this
->
_sLang
=
$aCfgTemp
[
'lang'
]
?
$aCfgTemp
[
'lang'
]
:
'en-en'
;
$this
->
_sLang
=
isset
(
$aCfgTemp
[
'lang'
])
&&
$aCfgTemp
[
'lang'
]
?
$aCfgTemp
[
'lang'
]
:
'en-en'
;
if
(
!
file_exists
(
__DIR__
.
'/../config/lang_'
.
$this
->
_sLang
.
'.php'
)){
header
(
'HTTP/1.1 503 Service Temporarily Unavailable'
);
header
(
'Status: 503 Service Temporarily Unavailable'
);
die
(
'ERROR: lang file for lang => "'
.
$this
->
_sLang
.
'" not found.<br>config/lang_'
.
$this
->
_sLang
.
'.php<br>does not exist.'
);
}
$this
->
_aLang
=
$aCfgTemp
=
include
(
__DIR__
.
'/../config/lang_'
.
$this
->
_sLang
.
'.php'
);
}
$this
->
_sDataDir
=
str_replace
(
"__APPDIR__"
,
dirname
(
dirname
(
__FILE__
)),
$this
->
_sDataDir
);
Loading