diff options
-rw-r--r-- | app/Controller/Doc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Controller/Doc.php b/app/Controller/Doc.php index 9164c6b9..00b9e585 100644 --- a/app/Controller/Doc.php +++ b/app/Controller/Doc.php @@ -83,6 +83,10 @@ class Doc extends Base */ public function replaceImageUrl(array $matches) { + if ($this->config->getCurrentLanguage() === 'fr_FR') { + return '('.$this->helper->url->base().'doc/fr/'.$matches[1].')'; + } + return '('.$this->helper->url->base().'doc/'.$matches[1].')'; } } |