clear CSS cache on theme changes
This commit is contained in:
parent
854a5d9833
commit
23fe15e8cd
@ -291,6 +291,10 @@ class Setup extends Extension {
|
||||
}
|
||||
}
|
||||
log_warning("setup", "Configuration updated");
|
||||
foreach(glob("data/cache/*.css") as $css_cache) {
|
||||
unlink($css_cache);
|
||||
}
|
||||
log_warning("setup", "Cache cleared");
|
||||
}
|
||||
|
||||
public function onUserBlockBuilding(UserBlockBuildingEvent $event) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user