diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-11 20:52:11 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-11 20:52:11 -0500 |
commit | a172e3ad8d25e9b77616107ce8a622175ab0d698 (patch) | |
tree | 183095d53589f56b205b9bf86cc26dda6c98ab9a /app/Controller/DocumentationController.php | |
parent | c5caff7ef79f1440ff26c84eed2dbc8254122f36 (diff) |
Convert Spanish documentation to UTF-8
Diffstat (limited to 'app/Controller/DocumentationController.php')
-rw-r--r-- | app/Controller/DocumentationController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/DocumentationController.php b/app/Controller/DocumentationController.php index 0d02ebda..2cd49f9e 100644 --- a/app/Controller/DocumentationController.php +++ b/app/Controller/DocumentationController.php @@ -87,7 +87,7 @@ class DocumentationController extends BaseController private function getPageFilename($page) { return $this->getFileLocation($page . '.markdown') ?: - implode(DIRECTORY_SEPARATOR, array(ROOT_DIR, 'doc', 'index.markdown')); + implode(DIRECTORY_SEPARATOR, array(ROOT_DIR, 'doc', 'en_US', 'index.markdown')); } /** @@ -122,7 +122,7 @@ class DocumentationController extends BaseController { $files = array( implode(DIRECTORY_SEPARATOR, array(ROOT_DIR, 'doc', $this->languageModel->getCurrentLanguage(), $filename)), - implode(DIRECTORY_SEPARATOR, array(ROOT_DIR, 'doc', $filename)), + implode(DIRECTORY_SEPARATOR, array(ROOT_DIR, 'doc', 'en_US', $filename)), ); foreach ($files as $filename) { |