@oerdnj opened this Issue on July 11th 2013

Some people like to maintain the websites in the local git (for easy modifications, etc.), and it would be nice to have the ability to disable (in config.ini.php) this check:

--- Piwik.php   2013-06-25 08:22:23.054989006 +0200
+++ /git/piwik/core/Piwik.php   2013-05-30 10:57:06.000000000 +0200
@@ -625,10 +625,10 @@ class Piwik
         $messages[] = true;

         // ignore dev environments
-        // if (file_exists(PIWIK_INCLUDE_PATH . '/.git')) {
-        //    $messages[] = Piwik_Translate('General_WarningFileIntegritySkipped');
-        //    return $messages;
-        // }
+        if (file_exists(PIWIK_INCLUDE_PATH . '/.git')) {
+            $messages[] = Piwik_Translate('General_WarningFileIntegritySkipped');
+            return $messages;
+        }

         $manifest = PIWIK_INCLUDE_PATH . '/config/manifest.inc.php';
         if (!file_exists($manifest)) {

So I don't have to patch my instance (which in turn cries in the System Check that the files have been modified).

Thanks.

@mattab commented on July 16th 2013 Member

.

@mattab commented on July 16th 2013 Member

In 938271ae747810bfd87ff0b29bf182e64573edf9: Fixes #4047 Just removing the test as it is actually not useful anymore (the manifest.inc.php test that follows is doing the job). thanks for the report!

@mattab commented on July 17th 2013 Member

In 89a6a78eefe7281c5752a96aa58acd8a108bf0b4: Refs #4047 Also removing the now unused translation (and removed from otrance)

This Issue was closed on July 17th 2013
Powered by GitHub Issue Mirror