From cb5594fc990bb0832e01cea944d283d1a56d4067 Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Wed, 2 Apr 2025 13:28:35 -0700 Subject: [PATCH] fix: deprecation warnings for string interpolation --- .../usr/local/emhttp/plugins/theme.engine/ThemeEngine.page | 4 ++-- .../usr/local/emhttp/plugins/theme.engine/include.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/theme.engine/usr/local/emhttp/plugins/theme.engine/ThemeEngine.page b/source/theme.engine/usr/local/emhttp/plugins/theme.engine/ThemeEngine.page index 1ad6da7..98526d5 100644 --- a/source/theme.engine/usr/local/emhttp/plugins/theme.engine/ThemeEngine.page +++ b/source/theme.engine/usr/local/emhttp/plugins/theme.engine/ThemeEngine.page @@ -403,12 +403,12 @@ Custom color base0F: Custom styling (advanced): -: +:   -: Export to Saved Themes +: Export to Saved Themes : Download current confirguration as Zip File (Apply changes first) diff --git a/source/theme.engine/usr/local/emhttp/plugins/theme.engine/include.php b/source/theme.engine/usr/local/emhttp/plugins/theme.engine/include.php index 86cff9b..f516eec 100644 --- a/source/theme.engine/usr/local/emhttp/plugins/theme.engine/include.php +++ b/source/theme.engine/usr/local/emhttp/plugins/theme.engine/include.php @@ -136,8 +136,8 @@ if ($ThemeEngine['customstyle'] == "1") { - if ( is_file("/boot/config/plugins/theme.engine/themes/${ThemeEngine['themename']}-${display['theme']}.css") ) { - include "/boot/config/plugins/theme.engine/themes/${ThemeEngine['themename']}-${display['theme']}.css"; + if ( is_file("/boot/config/plugins/theme.engine/themes/{$ThemeEngine['themename']}-{$display['theme']}.css") ) { + include "/boot/config/plugins/theme.engine/themes/{$ThemeEngine['themename']}-{$display['theme']}.css"; } }