update de l'application pour le dev de la documentation
This commit is contained in:
parent
6efdffc05c
commit
b710d8e24f
8 changed files with 58 additions and 40 deletions
|
|
@ -1,26 +0,0 @@
|
|||
<?php
|
||||
|
||||
|
||||
class cache
|
||||
{
|
||||
|
||||
static public function help(){
|
||||
print "explaination of the command\n\n";
|
||||
}
|
||||
|
||||
static public function clear(){
|
||||
$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";
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue