suppression rechargement icônes
This commit is contained in:
parent
acffb58116
commit
55caa9415a
|
@ -2187,11 +2187,7 @@ class common {
|
|||
$vendorFiles = json_decode(file_get_contents($vendorPath . 'inc.json'));
|
||||
foreach($vendorFiles as $vendorFile) {
|
||||
if( pathinfo($vendorFile, PATHINFO_EXTENSION) === 'css') {
|
||||
// Force le rechargement lors d'une mise à jour du jeu d'icônes
|
||||
$reload = $vendorPath === 'core/vendor/zwiico/'
|
||||
? '?' . time()
|
||||
: '';
|
||||
echo '<link rel="stylesheet" href="' . $vendorPath . $vendorFile . $reload . '">';
|
||||
echo '<link rel="stylesheet" href="' . $vendorPath . $vendorFile'">';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue