X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=05f5a056e69e294a08a8ae3632be775d6bcb1ed7;hp=738b5b6e3d9be42f16008593b602f50c0e65d2eb;hb=fe1e1d3b8291b1ca991e3d2e639cb28097c53d74;hpb=160c118f767dd39fdef7007c170a5bac4d876b8e diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 738b5b6e3d..05f5a056e6 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -285,10 +285,10 @@ function isInstalled () { return ( ( // New config file found and loaded - getConfig('MXCHANGE_INSTALLED') == 'Y' + isIncludeReadable('inc/cache/config-local.php') ) || ( - // Fall-back! - isIncludeReadable('inc/config.php') + // Fall-back to config + getConfig('MXCHANGE_INSTALLED') == 'Y' ) || ( ( // New config file found, but not yet read