summaryrefslogtreecommitdiff
path: root/app/Controller/DocumentationController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/DocumentationController.php')
-rw-r--r--app/Controller/DocumentationController.php4
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) {