X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2Fhelper%2FFileUtils.php;h=e8a2168cca98be947e8aba2da18b499543084fa0;hb=302662797cb5e8ac6579a99297ceae301f7927a6;hp=2eac079306dfbf6c99f1bee2e666b8a866f467dd;hpb=54afb1d6f65f727b20b66582bb63a42c421eea4d;p=github%2Fshaarli%2FShaarli.git diff --git a/application/helper/FileUtils.php b/application/helper/FileUtils.php index 2eac0793..e8a2168c 100644 --- a/application/helper/FileUtils.php +++ b/application/helper/FileUtils.php @@ -105,7 +105,7 @@ class FileUtils } foreach (new \DirectoryIterator($path) as $file) { - if($file->isDot()) { + if ($file->isDot()) { continue; } @@ -116,7 +116,7 @@ class FileUtils if ($file->isFile()) { unlink($file->getPathname()); - } elseif($file->isDir()) { + } elseif ($file->isDir()) { $skipped = static::clearFolder($file->getRealPath(), true, $exclude) || $skipped; } }