diff options
Diffstat (limited to 'core/Filechecks.php')
-rw-r--r-- | core/Filechecks.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/Filechecks.php b/core/Filechecks.php index 7a82db5b2b..52cb995bad 100644 --- a/core/Filechecks.php +++ b/core/Filechecks.php @@ -116,15 +116,17 @@ class Filechecks $messages[] = true; $manifest = PIWIK_INCLUDE_PATH . '/config/manifest.inc.php'; + + if (file_exists($manifest)) { require_once $manifest; } if (!class_exists('Piwik\\Manifest')) { - $git = SettingsPiwik::getCurrentGitBranch(); - if(empty($git)) { - $messages[] = Piwik::translate('General_WarningFileIntegrityNoManifest') . ' ' . Piwik::translate('General_WarningFileIntegrityNoManifestDeployingFromGit'); - } + $messages[] = Piwik::translate('General_WarningFileIntegrityNoManifest') + . ' ' + . Piwik::translate('General_WarningFileIntegrityNoManifestDeployingFromGit'); + return $messages; } |