mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 19:20:56 +01:00
Fixes #213
This commit is contained in:
@@ -65,6 +65,10 @@ class Client extends BaseClient
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!$file->isReadable()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($file->isDir()) {
|
||||
$isBare = file_exists($file->getPathname() . '/HEAD');
|
||||
$isRepository = file_exists($file->getPathname() . '/.git/HEAD');
|
||||
|
||||
Reference in New Issue
Block a user