Choose english if the language is not available. Fixes #1047
This commit is contained in:
parent
d2c5c63811
commit
1d1c8f9a01
|
@ -47,7 +47,9 @@ if ($setlang && $lang) {
|
|||
}
|
||||
|
||||
// User chose a non existent language, select the first available one
|
||||
|
||||
if ($lang == NULL) {
|
||||
$lang = "en_US";
|
||||
}
|
||||
|
||||
/* Language ok, set the locale environment */
|
||||
putenv("LC_MESSAGES=$lang");
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
alternc (0.9.6.5) testing; urgency=low
|
||||
|
||||
* Choose english as default language, (#1047)
|
||||
* parameter checking in subdomain creation (#1037)
|
||||
* Changing ownership of /var/alternc/tmp, makes file upload work again (#1058)
|
||||
* Force the restart of apache & apache-ssl (#1000)
|
||||
|
|
Loading…
Reference in New Issue