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
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Diagnostics/Diagnostic/FileIntegrityCheck.php')
-rw-r--r--plugins/Diagnostics/Diagnostic/FileIntegrityCheck.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Diagnostics/Diagnostic/FileIntegrityCheck.php b/plugins/Diagnostics/Diagnostic/FileIntegrityCheck.php
index 454237418d..7393877175 100644
--- a/plugins/Diagnostics/Diagnostic/FileIntegrityCheck.php
+++ b/plugins/Diagnostics/Diagnostic/FileIntegrityCheck.php
@@ -7,6 +7,7 @@
*/
namespace Piwik\Plugins\Diagnostics\Diagnostic;
+use Piwik\Development;
use Piwik\Filechecks;
use Piwik\Translation\Translator;
@@ -29,6 +30,10 @@ class FileIntegrityCheck implements Diagnostic
{
$label = $this->translator->translate('Installation_SystemCheckFileIntegrity');
+ if(Development::isEnabled()) {
+ return array(DiagnosticResult::singleResult($label, DiagnosticResult::STATUS_OK));
+ }
+
$messages = Filechecks::getFileIntegrityInformation();
$ok = array_shift($messages);