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:
Roland Häder 2017-01-26 15:23:30 +01:00
parent cf9fa51f2f
commit 5debcbb5a6
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
5 changed files with 15 additions and 11 deletions

View file

@ -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")) {