remove web/cache on clear:cache command

This commit is contained in:
Manuel Raynaud
2014-03-26 15:03:57 +01:00
parent b1b582dd1e
commit 5046a1f424

View File

@@ -62,6 +62,7 @@ class CacheClear extends ContainerAwareCommand
$cacheDir = $this->getContainer()->getParameter("kernel.cache_dir");
$this->clearCache($cacheDir, $output);
$this->clearCache(THELIA_WEB_DIR . "cache", $output);
if (!$input->getOption("without-assets")) {
$this->clearCache(THELIA_WEB_DIR . "assets", $output);
}