Exclude the assets folder from integrity check

We should not scan the assets folder as this can contain user specific content. Partially addresses https://github.com/owncloud/core/issues/22803
This commit is contained in:
Lukas Reschke 2016-03-03 13:46:41 +01:00
parent 4f25f34178
commit e55c52c078
1 changed files with 3 additions and 2 deletions

View File

@ -37,6 +37,7 @@ class ExcludeFoldersByPathFilterIterator extends \RecursiveFilterIterator {
rtrim($root .'/themes', '/'),
rtrim($root . '/config', '/'),
rtrim($root . '/apps', '/'),
rtrim($root . '/assets', '/'),
];
$customDataDir = \OC::$server->getConfig()->getSystemValue('datadirectory', '');
if($customDataDir !== '') {