public static function getFileIntegrityInformation()
    {
        $messages = array();

        $manifest = PIWIK_INCLUDE_PATH . '/config/manifest.inc.php';

        if (file_exists($manifest)) {
            require_once $manifest;
        }

        if (!class_exists('Piwik\\Manifest')) {
            $messages[] = Piwik::translate('General_WarningFileIntegrityNoManifest')
                . '<br/>'
                . Piwik::translate('General_WarningFileIntegrityNoManifestDeployingFromGit');

            return array(
                $success = false,
                $messages
            );
        }


        $messages = self::getMessagesDirectoriesFoundButNotExpected($messages);

        $messages = self::getMessagesFilesFoundButNotExpected($messages);

        $messages = self::getMessagesFilesMismatch($messages);

        return array(
            $success = empty($messages),
            $messages
        );
    }
public static function getFileIntegrityInformation()
    {
        $messages = array();

        $manifest = PIWIK_INCLUDE_PATH . '/config/manifest.inc.php';

        if (file_exists($manifest)) {
            require_once $manifest;
        }

        if (!class_exists('Piwik\\Manifest')) {
            $messages[] = Piwik::translate('General_WarningFileIntegrityNoManifest')
                . '<br/>'
                . Piwik::translate('General_WarningFileIntegrityNoManifestDeployingFromGit');

            return array(
                $success = false,
                $messages
            );
        }


        $messages = self::getMessagesDirectoriesFoundButNotExpected($messages);

        $messages = self::getMessagesFilesFoundButNotExpected($messages);

        $messages = self::getMessagesFilesMismatch($messages);

        return array(
            $success = empty($messages),
            $messages
        );
    }
public static function getFileIntegrityInformation ( ) { $ messages = array ( ) ; $ manifest = PIWIK_INCLUDE_PATH . '/config/manifest.inc.php' ; if ( file_exists ( $ manifest ) ) { require_once $ manifest ; } if ( ! class_exists ( 'Piwik\\Manifest' ) ) { $ messages [ ] = Piwik :: translate ( 'General_WarningFileIntegrityNoManifest' ) . '<br/>' . Piwik :: translate ( 'General_WarningFileIntegrityNoManifestDeployingFromGit' ) ; return array ( $ success = false , $ messages ) ; } $ messages = self :: getMessagesDirectoriesFoundButNotExpected ( $ messages ) ; $ messages = self :: getMessagesFilesFoundButNotExpected ( $ messages ) ; $ messages = self :: getMessagesFilesMismatch ( $ messages ) ; return array ( $ success = empty ( $ messages ) , $ messages ) ; }
Get file integrity information

@return array(bool $success, array $messages)
Get file integrity information