1
0
Fork 0

Move redundant System::baseUrl() to DI::baseUrl() calls

This commit is contained in:
Philipp Holzer 2019-12-30 23:00:08 +01:00
commit 3f34229752
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
81 changed files with 418 additions and 465 deletions

View file

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