main langue du navigateurA REVOIR

This commit is contained in:
Fred Tempez 2021-06-14 18:38:44 +02:00
parent becac08795
commit eb9e5bdeae

View File

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