main langue du navigateurA REVOIR

branche_v11
Fred Tempez 2021-06-14 18:40:53 +02:00
parent eb9e5bdeae
commit 301de2f18c
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<?php $lan = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?>
<?php $layout = new layout($this);
$lan = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?>
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="<?php echo $lan;?>">
<head>