X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=5d27ca58265e2582b7332ef9b2a41767e17dcd51;hp=3b3b9b29275d1e92a89b551497c09573c01892ce;hb=84b5a1d2c46f271f2a10ae8bba4b531e9bd9d5e6;hpb=30986f637cd3c03951bdbfc880b9a420f7724ce0 diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 3b3b9b2927..5d27ca5826 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -286,24 +286,24 @@ function isInstalling () { function isInstalled () { return ( ( - // New config file found and loaded - getConfig('MXCHANGE_INSTALLED') == 'Y' + // New config file found and loaded + getConfig('MXCHANGE_INSTALLED') == 'Y' ) || ( - // Fall-back! - isIncludeReadable('inc/config.php') + // Fall-back! + isIncludeReadable('inc/config.php') ) || ( - ( - // New config file found, but not yet read - isIncludeReadable('inc/cache/config-local.php') - ) && ( - ( - // Only new config file is found - !isIncludeReadable('inc/config.php') - ) || ( - // Is installation mode - isInstalling() - ) - ) + ( + // New config file found, but not yet read + isIncludeReadable('inc/cache/config-local.php') + ) && ( + ( + // Only new config file is found + !isIncludeReadable('inc/config.php') + ) || ( + // Is installation mode + isInstalling() + ) + ) ) ); } @@ -378,7 +378,7 @@ function sendHeader ($header) { } // END - if // Send the header - header($header); + header(trim($header)); } // Wrapper function for chmod()