diff options
Diffstat (limited to 'app/Controller/Doc.php')
-rw-r--r-- | app/Controller/Doc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/Doc.php b/app/Controller/Doc.php index 00b9e585..219ef8ad 100644 --- a/app/Controller/Doc.php +++ b/app/Controller/Doc.php @@ -20,7 +20,7 @@ class Doc extends Base $page = 'index'; } - if ($this->config->getCurrentLanguage() === 'fr_FR') { + if ($this->language->getCurrentLanguage() === 'fr_FR') { $filename = __DIR__.'/../../doc/fr/' . $page . '.markdown'; } else { $filename = __DIR__ . '/../../doc/' . $page . '.markdown'; @@ -83,7 +83,7 @@ class Doc extends Base */ public function replaceImageUrl(array $matches) { - if ($this->config->getCurrentLanguage() === 'fr_FR') { + if ($this->language->getCurrentLanguage() === 'fr_FR') { return '('.$this->helper->url->base().'doc/fr/'.$matches[1].')'; } |