Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/triple-dot-checker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/triple-dot-checker.php b/build/triple-dot-checker.php
index fa5edfcd5ee..15985a0a95c 100644
--- a/build/triple-dot-checker.php
+++ b/build/triple-dot-checker.php
@@ -32,7 +32,7 @@ foreach ($directories as $dir) {
$it = new \RecursiveDirectoryIterator($dir);
foreach (new RecursiveIteratorIterator($it) as $file) {
- if ($file->getExtension() === 'map') {
+ if (($file->getExtension() === 'map') || $file->isDir()) {
continue;
}
$content = file_get_contents($file->getPathname());