Test sur la création des modules par une commande console -> OK!

Test sur une api rest -> OK!
Test sur le deplacement d'une autre page de compte -> OK!

TODO: créé les pages de blog (sommaire,news) permettant d'afficher les fichiers md
This commit is contained in:
Emmanuel ROY 2020-04-01 09:45:51 +02:00
commit 353298db7f
4 changed files with 170 additions and 77 deletions

View file

@ -9,10 +9,17 @@ class cache
}
static public function clear(){
print "cache cleared ! \n\n";
$git_cache_rm = system('rm -f '.VIEW_PATH.'/cache/*', $git_cache_rm_retval);
print $git_cache_rm_retval;
$git_logs_rm = system('rm -f '.LOG_PATH.'/*', $git_logs_rm_retval);
print $git_logs_rm_retval;
print "logs && cache cleared ! \n\n";
}
static public function stabilize(){
$git_cache_rm = system('rm -f '.VIEW_PATH.'/cache/*', $git_cache_rm_retval);
print $git_cache_rm_retval;
print "cache stabilized ! \n\n";
}