From c3bc9e90b501e59032ca8ab7ea3ee4fec15e7ab0 Mon Sep 17 00:00:00 2001 From: sgiehl <stefan@piwik.org> Date: Tue, 21 Mar 2017 23:33:51 +0100 Subject: [PATCH] refs #11389 - check expected exisiting files case insensitive --- core/FileIntegrity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/FileIntegrity.php b/core/FileIntegrity.php index d7666c8c5d..c7b1222244 100644 --- a/core/FileIntegrity.php +++ b/core/FileIntegrity.php @@ -310,7 +310,7 @@ class FileIntegrity { $expected = self::getFilesNotInManifestButExpectedAnyway(); foreach ($expected as $expectedPattern) { - if (fnmatch($expectedPattern, $file)) { + if (fnmatch($expectedPattern, $file, defined('FNM_CASEFOLD') ? FNM_CASEFOLD : 0)) { return true; } } -- GitLab