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

This commit is contained in:
nupplaPhil
2019-12-30 23:00:08 +01:00
parent f2da1c5ab9
commit 3f34229752
81 changed files with 418 additions and 465 deletions
+2 -2
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)