Update doc

This commit is contained in:
bzick
2013-02-20 22:32:14 +04:00
parent 9ed8e987b9
commit f4bc88a97d
3 changed files with 6 additions and 2 deletions

View File

@ -43,8 +43,9 @@ class Misc {
foreach($iterator as $file) {
/* @var \splFileInfo $file*/
if($file->isFile()) {
if(strpos($file->getBasename(), ",") !== 0)
if(strpos($file->getBasename(), ",") !== 0) {
unlink($file->getRealPath());
}
} elseif($file->isDir()) {
rmdir($file->getRealPath());
}