mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
Allow 'readme.md' to be read as readme file in diffusion
Summary: In the title! Test Plan: View a readme file Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5914
This commit is contained in:
parent
9e6da42206
commit
2d3c73495a
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ final class ConduitAPI_diffusion_browsequery_Method
|
|||
|
||||
$path = $result_path->getPath();
|
||||
|
||||
if (preg_match('/^readme(|\.txt|\.remarkup|\.rainbow)$/i', $path)) {
|
||||
if (preg_match('/^readme(|\.txt|\.remarkup|\.rainbow|\.md)$/i', $path)) {
|
||||
$readme = $result_path;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue