Commit 860de321 authored by Tino Goratsch's avatar Tino Goratsch

purge the cache/env/sql folder when switching the theme

parent 6ea9613f
...@@ -67,6 +67,7 @@ class Designs extends Core\Controller\AbstractAdminAction ...@@ -67,6 +67,7 @@ class Designs extends Core\Controller\AbstractAdminAction
$bool = $this->config->saveSettings(['design' => $design], Schema::MODULE_NAME); $bool = $this->config->saveSettings(['design' => $design], Schema::MODULE_NAME);
Core\Cache\Purge::doPurge([ Core\Cache\Purge::doPurge([
$this->appPath->getCacheDir() . 'sql',
$this->appPath->getCacheDir() . 'tpl_compiled', $this->appPath->getCacheDir() . 'tpl_compiled',
$this->appPath->getCacheDir() . 'tpl_cached', $this->appPath->getCacheDir() . 'tpl_cached',
$this->appPath->getCacheDir() . 'http', $this->appPath->getCacheDir() . 'http',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment