mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
fix another detail in scandir
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
ae5adc989f
commit
635381a4c8
1 changed files with 1 additions and 1 deletions
|
|
@ -1026,7 +1026,7 @@ class ConfigurationManager
|
||||||
return $cc;
|
return $cc;
|
||||||
}
|
}
|
||||||
// Get rid of dots from the scandir command
|
// Get rid of dots from the scandir command
|
||||||
$dir = array_diff($dir, array('..', '.'));
|
$dir = array_diff($dir, array('..', '.', 'readme.md'));
|
||||||
foreach ($dir as $id) {
|
foreach ($dir as $id) {
|
||||||
$filePath = DataConst::GetCommunityContainersDirectory() . '/' . $id . '/' . $id . '.json';
|
$filePath = DataConst::GetCommunityContainersDirectory() . '/' . $id . '/' . $id . '.json';
|
||||||
$fileContents = apcu_fetch($filePath);
|
$fileContents = apcu_fetch($filePath);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue