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()
+ )
+ )
)
);
}