Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
16e94d54b2
1 changed files with 3 additions and 1 deletions
|
|
@ -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 ? '&'.$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 ? '&' . $ext : '') . '"></script>' . "\n";
|
||||
}
|
||||
|
||||
// Leaflet TODO use dolibarr files
|
||||
if (getDolGlobalString('MAIN_USE_GEOPHP')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue