fix deletion of htpasswd/diroption files if no more htpasswds/diroptions are in the database
This commit is contained in:
@@ -68,7 +68,7 @@ while($row = $db->fetch_array($result_tasks))
|
||||
{
|
||||
$awstatsclean['dir'] = dir($awstatsclean['path']);
|
||||
while($awstatsclean['entry'] = $awstatsclean['dir']->read()) {
|
||||
$awstatsclean['fullentry'] = $awstatsclean['path'].'/'.$awstatsclean['entry'];
|
||||
$awstatsclean['fullentry'] = makeCorrectFile($awstatsclean['path'].'/'.$awstatsclean['entry']);
|
||||
/**
|
||||
* dont do anything if the file does not exist
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user