mirror of
https://github.com/friendica/friendica
synced 2025-04-24 12:30:10 +00:00
App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
parent
3c24bed412
commit
5adfeb0bd5
134 changed files with 603 additions and 624 deletions
|
@ -402,10 +402,10 @@ function get_theme_screenshot($theme) {
|
|||
$exts = array('.png','.jpg');
|
||||
foreach ($exts as $ext) {
|
||||
if (file_exists('view/theme/' . $theme . '/screenshot' . $ext)) {
|
||||
return(App::get_baseurl() . '/view/theme/' . $theme . '/screenshot' . $ext);
|
||||
return(System::baseUrl() . '/view/theme/' . $theme . '/screenshot' . $ext);
|
||||
}
|
||||
}
|
||||
return(App::get_baseurl() . '/images/blank.png');
|
||||
return(System::baseUrl() . '/images/blank.png');
|
||||
}
|
||||
|
||||
// install and uninstall theme
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue