mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +08:00
Flush client assets when custom LESS is updated
This commit is contained in:
parent
c90cc00e88
commit
154f93c72e
|
@ -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…
Reference in New Issue
Block a user