diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-03-13 23:33:49 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-03-13 23:33:49 +0100 |
commit | f5618feb73343f0a120a809116c443630d70a87c (patch) | |
tree | f544c7db283dd77a1c639de7b5299df0490f61ff /install/index.php | |
parent | 3d2b9e2e237780e8f2a207e1b964b32679407265 (diff) | |
download | wallabag-f5618feb73343f0a120a809116c443630d70a87c.tar.gz wallabag-f5618feb73343f0a120a809116c443630d70a87c.tar.zst wallabag-f5618feb73343f0a120a809116c443630d70a87c.zip |
fix #1154
Diffstat (limited to 'install/index.php')
-rwxr-xr-x | install/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/index.php b/install/index.php index 16e0078d..69957283 100755 --- a/install/index.php +++ b/install/index.php | |||
@@ -18,11 +18,11 @@ require_once('install_functions.php'); | |||
18 | 18 | ||
19 | if (isset($_GET['clean'])) { | 19 | if (isset($_GET['clean'])) { |
20 | if (is_dir('install')){ | 20 | if (is_dir('install')){ |
21 | delTree('install'); | 21 | delTree('install', true); |
22 | header('Location: index.php'); | 22 | header('Location: index.php'); |
23 | } | 23 | } |
24 | if (is_dir('cache')) { | 24 | if (is_dir('cache')) { |
25 | delTree('cache', false); | 25 | delTree('cache', false, false); |
26 | header('Location: index.php'); | 26 | header('Location: index.php'); |
27 | } | 27 | } |
28 | } | 28 | } |