1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00
This commit is contained in:
Thomas Citharel 2015-03-13 23:33:49 +01:00
parent 3d2b9e2e23
commit f5618feb73
3 changed files with 13 additions and 8 deletions

View file

@ -18,11 +18,11 @@ require_once('install_functions.php');
if (isset($_GET['clean'])) {
if (is_dir('install')){
delTree('install');
delTree('install', true);
header('Location: index.php');
}
if (is_dir('cache')) {
delTree('cache', false);
delTree('cache', false, false);
header('Location: index.php');
}
}