main langue du navigateurA REVOIR

This commit is contained in:
Fred Tempez 2021-06-14 18:40:53 +02:00
parent eb9e5bdeae
commit 301de2f18c

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> <!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="<?php echo $lan;?>"> <html prefix="og: http://ogp.me/ns#" lang="<?php echo $lan;?>">
<head> <head>