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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorStefan Giehl <stefan@piwik.org>2017-11-20 03:12:12 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-11-20 03:12:12 +0300
commit66c23edb516d5b565d2b29bd7b06d98a60f6b0af (patch)
tree76c2e9c29328f3725436b506a16c661dde0f3784 /core
parent57950ce168cf2ac128a4433858148f5fc092e9bb (diff)
set path when checking for integrity (#12022)
Diffstat (limited to 'core')
-rw-r--r--core/FileIntegrity.php4
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;
}