From be3a6afb2a406db1f643759f061a6f1da693c5e0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 18 Dec 2016 11:38:31 +0100 Subject: [PATCH] Better change for #6190 --- htdocs/main.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index e07ef156124..b6a5d904c34 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1003,10 +1003,10 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs if (empty($conf->css)) $conf->css = '/theme/eldy/style.css.php'; // If not defined, eldy by default - if (empty($conf->global->MAIN_ACTIVATE_HTML5)) { + if (! empty($conf->global->MAIN_ACTIVATE_HTML4)) { $doctype = ''; }else { - $doctype = ''; // Html5 - Developement - Only available on Eldy template + $doctype = ''; } print $doctype."\n"; if (! empty($conf->global->MAIN_USE_CACHE_MANIFEST)) print ''."\n";