mirror of
https://github.com/flarum/core.git
synced 2025-02-24 19:23:01 +01:00
Flush client assets when custom LESS is updated
This commit is contained in:
parent
4979e4d614
commit
4e01aa10d8
@ -41,7 +41,7 @@ class ConfigAction implements Action
|
||||
foreach ($config as $k => $v) {
|
||||
$this->settings->set($k, $v);
|
||||
|
||||
if (strpos($k, 'theme_') === 0) {
|
||||
if (strpos($k, 'theme_') === 0 || $k === 'custom_less') {
|
||||
$forum = app('Flarum\Forum\Actions\ClientAction');
|
||||
$forum->flushAssets();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user