diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-11-20 03:12:12 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-11-20 03:12:12 +0300 |
commit | 66c23edb516d5b565d2b29bd7b06d98a60f6b0af (patch) | |
tree | 76c2e9c29328f3725436b506a16c661dde0f3784 /core | |
parent | 57950ce168cf2ac128a4433858148f5fc092e9bb (diff) |
set path when checking for integrity (#12022)
Diffstat (limited to 'core')
-rw-r--r-- | core/FileIntegrity.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/FileIntegrity.php b/core/FileIntegrity.php index 1725868e51..caf90d323c 100644 --- a/core/FileIntegrity.php +++ b/core/FileIntegrity.php @@ -410,9 +410,9 @@ class FileIntegrity { $filesToInvestigate = array_merge( // all normal files - Filesystem::globr('.', '*'), + Filesystem::globr(PIWIK_DOCUMENT_ROOT, '*'), // all hidden files - Filesystem::globr('.', '.*') + Filesystem::globr(PIWIK_DOCUMENT_ROOT, '.*') ); return $filesToInvestigate; } |