|
@@ -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);
|