mirror of
https://github.com/friendica/friendica
synced 2025-04-25 10:30:12 +00:00
Coding convention:
- added curly braces - added space between "if" and brace Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
5a90e7f822
commit
a5e4882e25
11 changed files with 85 additions and 53 deletions
|
@ -412,8 +412,9 @@ function get_theme_info($theme){
|
|||
function get_theme_screenshot($theme) {
|
||||
$exts = array('.png','.jpg');
|
||||
foreach($exts as $ext) {
|
||||
if(file_exists('view/theme/' . $theme . '/screenshot' . $ext))
|
||||
if(file_exists('view/theme/' . $theme . '/screenshot' . $ext)) {
|
||||
return(App::get_baseurl() . '/view/theme/' . $theme . '/screenshot' . $ext);
|
||||
}
|
||||
}
|
||||
return(App::get_baseurl() . '/images/blank.png');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue