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'));
|
$vendorFiles = json_decode(file_get_contents($vendorPath . 'inc.json'));
|
||||||
foreach($vendorFiles as $vendorFile) {
|
foreach($vendorFiles as $vendorFile) {
|
||||||
if( pathinfo($vendorFile, PATHINFO_EXTENSION) === 'css') {
|
if( pathinfo($vendorFile, PATHINFO_EXTENSION) === 'css') {
|
||||||
// Force le rechargement lors d'une mise à jour du jeu d'icônes
|
echo '<link rel="stylesheet" href="' . $vendorPath . $vendorFile'">';
|
||||||
$reload = $vendorPath === 'core/vendor/zwiico/'
|
|
||||||
? '?' . time()
|
|
||||||
: '';
|
|
||||||
echo '<link rel="stylesheet" href="' . $vendorPath . $vendorFile . $reload . '">';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue