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; }