diff --git a/src/ZM/Store/FileSystem.php b/src/ZM/Store/FileSystem.php index f8edf949..685f18a3 100644 --- a/src/ZM/Store/FileSystem.php +++ b/src/ZM/Store/FileSystem.php @@ -142,7 +142,7 @@ class FileSystem /*if (substr(file_get_contents($dir . '/' . $v), 6, 6) == '#plain') { continue; }*/ - if (file_exists($dir . '/' . $pathinfo['basename'] . '.ignore')) { + if (file_exists($dir . '/' . $v . '.ignore')) { continue; } if (mb_substr($pathinfo['basename'], 0, 7) == 'global_' || mb_substr($pathinfo['basename'], 0, 7) == 'script_') {