X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FHelp.php;h=3212d2fe48c6ac339e9c7d613f62ac2ea4cedc08;hb=5ae03319936f70d12eaf4a09dfcda020de429380;hp=219adc797342a9bf81a0edc548a355bdedf6a7ab;hpb=6730430919a8c2d93f70397d9a2d4374a5001653;p=friendica.git diff --git a/src/Module/Help.php b/src/Module/Help.php index 219adc7973..3212d2fe48 100644 --- a/src/Module/Help.php +++ b/src/Module/Help.php @@ -1,6 +1,6 @@ get('system', 'language'); + $lang = DI::session()->get('language', $config->get('system', 'language')); // @TODO: Replace with parameter from router if (DI::args()->getArgc() > 1) { @@ -103,7 +102,7 @@ class Help extends BaseModule $idNum[$level] ++; - $href = DI::baseUrl()->get() . "/help/{$filename}#{$anchor}"; + $href = "help/{$filename}#{$anchor}"; $toc .= "
  • " . strip_tags($line) . "
  • "; $id = implode("_", array_slice($idNum, 1, $level)); $line = "" . $line;