X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FTheme.php;h=6f0d9d43603a54e683ffbf7f3b6fb1b053069d19;hb=3f3422975266835fc125d1d61aae85ccc10d96d9;hp=a4dfe2f9fad1b6a8660e9f7b2190ed15f2a69ed0;hpb=181529f3df152dd0fdb6d19a35c64d0ff158ffd2;p=friendica.git diff --git a/src/Core/Theme.php b/src/Core/Theme.php index a4dfe2f9fa..6f0d9d4360 100644 --- a/src/Core/Theme.php +++ b/src/Core/Theme.php @@ -125,10 +125,10 @@ class Theme $exts = ['.png', '.jpg']; foreach ($exts as $ext) { if (file_exists('view/theme/' . $theme . '/screenshot' . $ext)) { - return System::baseUrl() . '/view/theme/' . $theme . '/screenshot' . $ext; + return DI::baseUrl() . '/view/theme/' . $theme . '/screenshot' . $ext; } } - return System::baseUrl() . '/images/blank.png'; + return DI::baseUrl() . '/images/blank.png'; } public static function uninstall($theme)