fixing m_bro not knowing how to delete files names 0
This commit is contained in:
parent
a87d5828e2
commit
350750fe32
|
@ -1110,7 +1110,7 @@ class m_bro {
|
|||
$err->log("bro", "_delete($file)");
|
||||
if (is_dir($file)) {
|
||||
$handle=opendir($file);
|
||||
while($filename=readdir($handle)) {
|
||||
while (($filename=readdir($handle)) !== false) {
|
||||
if ($filename != "." && $filename != "..") {
|
||||
$this->_delete($file."/".$filename);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue