Merge pull request #22822 from owncloud/stable9-exclude-assets

[stable9] Exclude the assets folder from integrity check
remotes/origin/s3patch
Thomas Müller 2016-03-04 11:50:24 +07:00
commit 4fc6deaaf0
1 changed files with 3 additions and 2 deletions

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