Permalink
Browse files

Fix availableLanguages list (now moved to LocaleService)

  • Loading branch information...
1 parent 7ff41a8 commit b117ba4f13bae784d345af9aac7359ef0529e3b3 @cdujeu cdujeu committed Jun 17, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/gui.ajax/class.AJXP_ClientDriver.php
@@ -374,7 +374,7 @@ private function computeBootConf(ContextInterface $ctx)
if($currentIsMinisite) $to = -1;
$config["client_timeout"] = intval($to);
$config["client_timeout_warning"] = floatval($this->getContextualOption($ctx, "CLIENT_TIMEOUT_WARN"));
- $config["availableLanguages"] = ConfService::getConf("AVAILABLE_LANG");
+ $config["availableLanguages"] = LocaleService::listAvailableLanguages();
$config["usersEditable"] = ConfService::getAuthDriverImpl()->usersEditable();
$config["ajxpVersion"] = AJXP_VERSION;
$config["ajxpVersionDate"] = AJXP_VERSION_DATE;

0 comments on commit b117ba4

Please sign in to comment.