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

Commit

Permalink
Fix availableLanguages list (now moved to LocaleService)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jun 17, 2016
1 parent 7ff41a8 commit b117ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/class.AJXP_ClientDriver.php
Expand Up @@ -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;
Expand Down

0 comments on commit b117ba4

Please sign in to comment.