# HG changeset patch # User Laurens Holst # Date 1609709886 -3600 # Sun Jan 03 22:38:06 2021 +0100 # Node ID d9ed5f33282efda081198a1412075ddc4523b414 # Parent 758394a7b522b10563f38d363e4701469234c810 functions: Disable XHTML support. It lacks ES modules support in Chrome. diff --git a/scripts/functions.php b/scripts/functions.php --- a/scripts/functions.php +++ b/scripts/functions.php @@ -7,7 +7,7 @@ ini_set('arg_separator.output','&'); // Set globals -$xhtml = isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'); +$xhtml = false; //isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/xhtml+xml'); // gzip pages... ob_start("ob_gzhandler");