From a172e3ad8d25e9b77616107ce8a622175ab0d698 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 11 Feb 2017 20:52:11 -0500 Subject: Convert Spanish documentation to UTF-8 --- app/Controller/DocumentationController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controller/DocumentationController.php') 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) { -- cgit v1.2.3