forked from extern/egroupware
fixed notice in installation
This commit is contained in:
parent
69914a2264
commit
dfe7ad0be6
@ -69,7 +69,7 @@ $config = array(
|
||||
);
|
||||
|
||||
// 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);
|
||||
if (in_array($lang.'-'.strtolower($nat),array('es-es','pt-br','zh-tw')))
|
||||
|
Loading…
Reference in New Issue
Block a user