Fixed 'display_readmes' config option not having any affect

This commit is contained in:
Chris Kankiewicz
2020-01-08 21:47:13 -07:00
parent c8be03c8c0
commit 9104d2184a

View File

@@ -107,7 +107,7 @@ class DirectoryController
*/
protected function readme($path): ?SplFileInfo
{
if (! $this->config->get('display_readmes', false)) {
if (! $this->config->get('app.display_readmes', false)) {
return null;
}