// Remember title in constant for the template
define('__PAGE_TITLE', $TITLE);
- } elseif ((!isBooleanConstantAndTrue('mxchange_installed')) || (!isBooleanConstantAndTrue('admin_registered'))) {
+ } elseif ((!isInstalled()) || (!isAdminRegistered())) {
+ // Load language here
+ LOAD_INC_ONCE("inc/language.php");
+
// Installation mode
define('__PAGE_TITLE', getMessage('INSTALLATION_OF_MXCHANGE'));
} else {
LOAD_TEMPLATE("metadata");
// Add meta description to header
- if ((isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')) && (SQL_IS_LINK_UP())) {
+ if ((isInstalled()) && (isAdminRegistered()) && (SQL_IS_LINK_UP())) {
// Add meta description not in admin and login module and when the script is installed
META_DESCRIPTION($GLOBALS['module'], $GLOBALS['what']);
} // END - if