Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
abcee56f
Commit
abcee56f
authored
Mar 23, 2016
by
Thomas Müller
Browse files
Merge pull request #23474 from owncloud/RealRancor-exclude_lost_and_found
Exclude lost+found dir in integrity check
parents
e6fb139e
5d170e05
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php
View file @
abcee56f
...
...
@@ -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
!==
''
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment