main langue du navigateurA REVOIR

branche_v11
Fred Tempez 2021-06-14 18:38:44 +02:00
parent becac08795
commit eb9e5bdeae
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<?php $layout = new layout($this);?>
<?php $lan = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?>
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="fr">
<html prefix="og: http://ogp.me/ns#" lang="<?php echo $lan;?>">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">