diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-11-14 12:15:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-14 12:15:56 +0300 |
commit | 016634913d642bd5fadb4ecd00afa4eda4c85c02 (patch) | |
tree | e0dc49c1c1dfb99499a0a42ca7fb57172d9c9d25 /config | |
parent | 4fc3de649fbab314a920687634d9d365f64ccb2e (diff) |
Move list of ignored files for integrity check to config.php (using DI) (#12274)
Diffstat (limited to 'config')
-rw-r--r-- | config/global.php | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/config/global.php b/config/global.php index 3f55fe3026..9687047a82 100644 --- a/config/global.php +++ b/config/global.php @@ -73,6 +73,48 @@ return array( 'observers.global' => array(), + 'fileintegrity.ignore' => DI\add(array( + '*.htaccess', + '*web.config', + 'bootstrap.php', + 'favicon.ico', + 'robots.txt', + '.bowerrc', + '.phpstorm.meta.php', + 'config/config.ini.php', + 'config/config.php', + 'config/common.ini.php', + 'config/*.config.ini.php', + 'config/manifest.inc.php', + 'misc/*.dat', + 'misc/*.dat.gz', + 'misc/*.bin', + 'misc/user/*png', + 'misc/user/*js', + 'misc/package', + 'misc/package/WebAppGallery/*.xml', + 'misc/package/WebAppGallery/install.sql', + 'plugins/ImageGraph/fonts/unifont.ttf', + 'vendor/autoload.php', + 'vendor/composer/autoload_real.php', + 'vendor/szymach/c-pchart/app/*', + 'tmp/*', + // Search engine sites verification + 'google*.html', + 'BingSiteAuth.xml', + 'yandex*.html', + // Files below are not expected but they used to be present in older Piwik versions and may be still here + // As they are not going to cause any trouble we won't report them as 'File to delete' + '*.coveralls.yml', + '*.scrutinizer.yml', + '*.gitignore', + '*.gitkeep', + '*.gitmodules', + '*.gitattributes', + '*.bower.json', + '*.travis.yml', + )), + 'Piwik\EventDispatcher' => DI\object()->constructorParameter('observers', DI\get('observers.global')), 'Zend_Validate_EmailAddress' => function () { |