X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ftheme-manager.php;h=d591bbbfcd76967a8e51d270b1afa5f332df1e4b;hp=81e2fadfbc9a7dfdbd23ae7c4361de23cd47baa9;hb=58b29a924c48e7c1ce38c435c92e541b53984c56;hpb=ae30b9aa1e58b3c6115e968a3c6e549a2fe1791e diff --git a/inc/theme-manager.php b/inc/theme-manager.php index 81e2fadfbc..d591bbbfcd 100644 --- a/inc/theme-manager.php +++ b/inc/theme-manager.php @@ -61,7 +61,7 @@ function GET_CURR_THEME() { // Free memory SQL_FREERESULT($result); - } elseif ((!mxchange_installed) && ((mxchange_installing) || ($CSS == true)) && ((!empty($_GET['theme'])) || (!empty($_POST['theme'])))) { + } elseif ((!isBooleanConstantAndTrue('mxchange_installed')) && ((isBooleanConstantAndTrue('mxchange_installing')) || ($CSS == true)) && ((!empty($_GET['theme'])) || (!empty($_POST['theme'])))) { // Prepare FQFN for checking $theme = sprintf("%stheme/%s/theme.php", PATH, $_GET['theme']);