mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
fixed notice in installation
This commit is contained in:
parent
e5b89deea4
commit
1d6499661e
@ -69,7 +69,7 @@ $config = array(
|
|||||||
);
|
);
|
||||||
|
|
||||||
// read language from LANG enviroment variable
|
// read language from LANG enviroment variable
|
||||||
if (($lang = isset($_ENV['LANG']) ? $_ENV['LANG'] : $_SERVER['LANG']))
|
if (($lang = isset($_ENV['LANG']) ? $_ENV['LANG'] : (isset($_SERVER['LANG']) ? $_SERVER['LANG'] : null)))
|
||||||
{
|
{
|
||||||
@list($lang,$nat) = preg_split('/[_.]/',$lang);
|
@list($lang,$nat) = preg_split('/[_.]/',$lang);
|
||||||
if (in_array($lang.'-'.strtolower($nat),array('es-es','pt-br','zh-tw')))
|
if (in_array($lang.'-'.strtolower($nat),array('es-es','pt-br','zh-tw')))
|
||||||
|
Loading…
Reference in New Issue
Block a user