mirror of
https://github.com/friendica/friendica
synced 2025-04-24 11:10:18 +00:00
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
cf9fa51f2f
commit
5debcbb5a6
5 changed files with 15 additions and 11 deletions
|
@ -2162,6 +2162,7 @@ function admin_page_themes(App $a)
|
|||
}
|
||||
|
||||
$readme = null;
|
||||
|
||||
if (is_file("view/theme/$theme/README.md")) {
|
||||
$readme = Markdown::convert(file_get_contents("view/theme/$theme/README.md"), false);
|
||||
} elseif (is_file("view/theme/$theme/README")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue