Rename DI::apphelper() to DI::appHeler()

This commit is contained in:
Art4 2024-11-17 20:00:34 +00:00
parent e320b010c7
commit 603af2fb19
31 changed files with 44 additions and 44 deletions

View file

@ -208,7 +208,7 @@ class Theme
*/
public static function getPathForFile(string $file): string
{
$appHelper = DI::apphelper();
$appHelper = DI::appHelper();
$theme = $appHelper->getCurrentTheme();
@ -245,7 +245,7 @@ class Theme
return 'view/theme/' . $theme . '/style.css';
}
$appHelper = DI::apphelper();
$appHelper = DI::appHelper();
$query_params = [];
@ -267,7 +267,7 @@ class Theme
{
$theme = Strings::sanitizeFilePathItem($theme);
$appHelper = DI::apphelper();
$appHelper = DI::appHelper();
$base_theme = $appHelper->getThemeInfoValue('extends') ?? '';
if (file_exists("view/theme/$theme/config.php")) {