Merge pull request #25108 from frederic34/patch-2

add revision in custom css link
This commit is contained in:
Laurent Destailleur 2023-06-16 00:28:19 +02:00 committed by GitHub
commit 925691ed5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1850,7 +1850,7 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr
// Custom CSS
if (getDolGlobalString('MAIN_IHM_CUSTOM_CSS')) {
// If a custom CSS was set, we add link to the custom css php file
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/theme/custom.css.php">'."\n";
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/theme/custom.css.php'.($ext ? '?'.$ext : '').'&amp;revision='.getDolGlobalInt("MAIN_IHM_PARAMS_REV").'">'."\n";
}
// Output standard javascript links