Exclude lost+found dir in integrity check

This commit is contained in:
RealRancor 2016-03-19 14:08:21 +01:00 committed by Lukas Reschke
parent ae2c207b6e
commit b3ead7568d
1 changed files with 2 additions and 1 deletions

View File

@ -34,10 +34,11 @@ class ExcludeFoldersByPathFilterIterator extends \RecursiveFilterIterator {
$excludedFolders = [
rtrim($root . '/data', '/'),
rtrim($root .'/themes', '/'),
rtrim($root . '/themes', '/'),
rtrim($root . '/config', '/'),
rtrim($root . '/apps', '/'),
rtrim($root . '/assets', '/'),
rtrim($root . '/lost+found', '/'),
];
$customDataDir = \OC::$server->getConfig()->getSystemValue('datadirectory', '');
if($customDataDir !== '') {