Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Probably found the root cause of "Ooops your language file is empty..."
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Dec 18, 2014
1 parent 9ad7bc7 commit b25403d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/core/classes/class.ConfService.php
Expand Up @@ -940,7 +940,7 @@ public function getMessagesInst($forceRefresh = false)
$nodes = AJXP_PluginsService::getInstance()->searchAllManifests("//i18n", "nodes");
foreach ($nodes as $node) {
$nameSpace = $node->getAttribute("namespace");
$path = $node->getAttribute("path");
$path = AJXP_INSTALL_PATH."/".$node->getAttribute("path");
$lang = $crtLang;
if (!is_file($path."/".$crtLang.".php")) {
$lang = "en"; // Default language, minimum required.
Expand Down

0 comments on commit b25403d

Please sign in to comment.