mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
fix another detail in scandir
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@@ -1026,7 +1026,7 @@ class ConfigurationManager
|
||||
return $cc;
|
||||
}
|
||||
// Get rid of dots from the scandir command
|
||||
$dir = array_diff($dir, array('..', '.'));
|
||||
$dir = array_diff($dir, array('..', '.', 'readme.md'));
|
||||
foreach ($dir as $id) {
|
||||
$filePath = DataConst::GetCommunityContainersDirectory() . '/' . $id . '/' . $id . '.json';
|
||||
$fileContents = apcu_fetch($filePath);
|
||||
|
||||
Reference in New Issue
Block a user