Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

This commit is contained in:
ldestailleur 2025-02-22 02:36:55 +01:00
commit 16e94d54b2

View file

@ -2227,7 +2227,9 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr
// Global js function
print '<!-- Includes JS of Dolibarr -->'."\n";
print '<script nonce="'.getNonce().'" src="'.DOL_URL_ROOT.'/core/js/lib_head.js.php?lang='.$langs->defaultlang.($ext ? '&amp;'.$ext : '').'"></script>'."\n";
if (!defined('DISABLE_LIB_HEAD_JS')) {
print '<script nonce="' . getNonce() . '" src="' . DOL_URL_ROOT . '/core/js/lib_head.js.php?lang=' . $langs->defaultlang . ($ext ? '&amp;' . $ext : '') . '"></script>' . "\n";
}
// Leaflet TODO use dolibarr files
if (getDolGlobalString('MAIN_USE_GEOPHP')) {