Merged in caleeli/processmaker/HOR-1367 (pull request #4458)

HOR-1367
This commit is contained in:
Julio Cesar Laura Avendaño
2016-06-24 12:53:46 -04:00

View File

@@ -60,6 +60,9 @@ function run_flush_cache($args, $opts)
G::mk_dir($workspace->path . "/cache", 0777);
G::rm_dir($workspace->path . "/cachefiles");
G::mk_dir($workspace->path . "/cachefiles", 0777);
if (file_exists($workspace->path.'/routes.php')) {
unlink($workspace->path.'/routes.php');
}
echo "DONE" . PHP_EOL;
}
}