From 110381682a17e2485fd04acfd4c4a5ef7b38d39a Mon Sep 17 00:00:00 2001 From: Rj48 Date: Mon, 18 Jul 2016 06:24:28 +0200 Subject: [PATCH] skip .htaccess and .htpasswd during purge --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 1e7c0e1..1906dab 100755 --- a/index.php +++ b/index.php @@ -172,7 +172,9 @@ function purgeFiles() { //skip virtual . and .. files if ($file == '.' || - $file == '..') + $file == '..' || + $file == '.htaccess' || + $file == '.htpasswd') { continue; }