1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-10 19:08:45 +00:00

skip .htaccess and .htpasswd during purge

This commit is contained in:
Rj48 2016-07-18 06:24:28 +02:00
parent cc1f0e9181
commit 110381682a

View File

@ -172,7 +172,9 @@ function purgeFiles()
{ {
//skip virtual . and .. files //skip virtual . and .. files
if ($file == '.' || if ($file == '.' ||
$file == '..') $file == '..' ||
$file == '.htaccess' ||
$file == '.htpasswd')
{ {
continue; continue;
} }