+ require_once 'System.php';
+ $ff = HTML_FlexyFramework::get();
+
+ $mods = $this->modulesList();
+ $mods[] = $ff->project; // Pman - this was the old format...
+ $mods[] = ''; // Pman + appshortname..
+
+ foreach ($mods as $module) {
+ $compile_dir = $this->getCompileDir('js', $module, false);
+
+ if(!empty($compile_dir)) {
+ System::rm(array('-r', $compile_dir));
+ }
+ $compile_dir = $this->getCompileDir('css', $module, false);
+
+ if(!empty($compile_dir)) {
+ System::rm(array('-r', $compile_dir));
+ }
+ }
+
+ $this->jok('DONE');