X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Ftheme_functions.php;h=b9e61dbe09ee0b45629ce405b43e788bd1433230;hb=0187fd5903cddd98c2152dbb4c84da58e5083303;hp=1fcbd844159cced2e35038206ee509bb4a980539;hpb=ff9e8f739bd4b6e184b2a6bf427334196e501da8;p=mailer.git diff --git a/inc/libs/theme_functions.php b/inc/libs/theme_functions.php index 1fcbd84415..b9e61dbe09 100644 --- a/inc/libs/theme_functions.php +++ b/inc/libs/theme_functions.php @@ -242,7 +242,7 @@ function getActualTheme () { // Fix it to default $ret = 'default'; } // END - if - } elseif ((!isInstalled()) && ((isInstalling()) || (getScriptOutputMode() == true)) && ((isGetRequestParameterSet('theme')) || (isPostRequestParameterSet('theme')))) { + } elseif ((!isInstalled()) && ((isInstalling()) || (isHtmlOutputMode())) && ((isGetRequestParameterSet('theme')) || (isPostRequestParameterSet('theme')))) { // Prepare filename for checking $themeFile = sprintf("theme/%s/theme.php", getRequestParameter('theme')); @@ -302,9 +302,9 @@ function getThemeId ($name) { return $id; } -/////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------------------------------- // Only filter functions -/////////////////////////////////////////////////////////////////////////////// +//----------------------------------------------------------------------------- // Filter for generic handling of theme change function FILTER_HANDLE_THEME_CHANGE () {