mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
"fixed not working language selection after changeing the lang-filenames from phpgw_XX.lang to egw_XX.lang"
This commit is contained in:
parent
b4bd76fbb5
commit
c8eec1ae36
@ -130,9 +130,9 @@
|
||||
$d = dir('./lang');
|
||||
while($file=$d->read())
|
||||
{
|
||||
if(preg_match('/^phpgw_([-a-z]+).lang$/i',$file,$matches))
|
||||
if(preg_match('/^(php|e)gw_([-a-z]+).lang$/i',$file,$matches))
|
||||
{
|
||||
$languages[$matches[1]]['available'] = True;
|
||||
$languages[$matches[2]]['available'] = True;
|
||||
}
|
||||
}
|
||||
$d->close();
|
||||
|
Loading…
Reference in New Issue
Block a user