HOR-1367 Flush cache no elimina el archivo de cache global

This commit is contained in:
davidcallizaya
2016-06-24 09:50:31 -04:00
parent f810b6a622
commit 3e0ca5fe8e

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;
}
}