Skip to content
Snippets Groups Projects
Commit 5a584e6c authored by Chris Hallberg's avatar Chris Hallberg
Browse files

LESS Cache trimming for CLI tool.

parent 1501a1fb
No related merge requests found
......@@ -101,6 +101,9 @@ class LessCompiler
foreach ($config['less'] as $less) {
$this->compileFile($theme, $less);
}
\Less_Cache::SetCacheDir(APPLICATION_PATH.'/themes/'.$theme.'/css/less/');
\Less_Cache::CleanCache(); // deletes week old files
}
/**
......
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