- define('__PAGE_TITLE', html_entity_decode($TITLE));
- } elseif ((!isBooleanConstantAndTrue('mxchange_installed')) || (!isBooleanConstantAndTrue('admin_registered'))) {
- // Load language file because it was missing in installation finalizer step... *sigh*
- require_once(sprintf("%sinc/language/install_%s.php",
- PATH,
- GET_LANGUAGE()
- ));
-
+ define('__PAGE_TITLE', $TITLE);
+ } elseif ((isInstalled()) && (!isAdminRegistered())) {
+ // Installed but no admin registered
+ define('__PAGE_TITLE', sprintf(getMessage('SETUP_OF_MXCHANGE'), constant('MAIN_TITLE')));
+ } elseif ((!isInstalled()) || (!isAdminRegistered())) {