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

[stable9] Exclude the assets folder from integrity check
This commit is contained in:
Thomas Müller 2016-03-04 11:50:24 +01:00
commit 4fc6deaaf0

View file

@ -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 !== '') {