Display READMEs by default

This commit is contained in:
Chris Kankiewicz
2020-01-20 11:36:35 -07:00
parent ba3b735155
commit 12058138ac
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ REVERSE_SORT=false
HIDE_APP_FILES=true
HIDE_VCS_FILES=true
DISPLAY_READMES=false
DISPLAY_READMES=true
DATE_FORMAT="Y-m-d H:i:s"

View File

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

View File

@@ -45,7 +45,7 @@ return [
/**
* Parse and render README files on the page.
*
* Default value: false
* Default value: true
*/
'display_readmes' => Helpers::env('DISPLAY_READMES'),

View File

@@ -31,7 +31,7 @@ class TestCase extends PHPUnitTestCase
'hidden_files' => [],
'hide_app_files' => true,
'hide_vcs_files' => false,
'display_readmes' => false,
'display_readmes' => true,
'max_hash_size' => 1000000000,
],
'view' => [