diff --git a/web/site/index.php b/web/site/index.php index ca9c287..78a936f 100644 --- a/web/site/index.php +++ b/web/site/index.php @@ -23,8 +23,8 @@ for ($i=0; $i<$ndir; $i++) $path=preg_replace('#/+$#','',$path); $blang='en'; +$langs=[]; if (array_key_exists('HTTP_ACCEPT_LANGUAGE',$_SERVER)) { - $langs=[]; $buff=explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']); foreach ($buff as $ent) { $ent=trim($ent);