Issue 10983: Use the user's settings for the help language
This commit is contained in:
parent
893b8e5df3
commit
84e62b5293
1 changed files with 3 additions and 3 deletions
|
@ -39,10 +39,10 @@ class Help extends BaseModule
|
|||
$text = '';
|
||||
$filename = '';
|
||||
|
||||
$a = DI::app();
|
||||
$config = DI::config();
|
||||
$lang = $config->get('system', 'language');
|
||||
|
||||
$lang = DI::session()->get('language');
|
||||
$lang = $lang ?? $config->get('system', 'language');
|
||||
|
||||
// @TODO: Replace with parameter from router
|
||||
if (DI::args()->getArgc() > 1) {
|
||||
$path = '';
|
||||
|
|
Loading…
Reference in a new issue