X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fheader.php;h=da0f68cfe6ff01f6d3840fd6547486e23ec6ba32;hp=aa10f9daed701f9be923f9ea6c5b0b46976067d9;hb=66b91ce490ab549425619c95fc12086e126d541b;hpb=9e604ce404fe7d2d8dafc259a5fb8cd826aec5e6 diff --git a/inc/header.php b/inc/header.php index aa10f9daed..da0f68cfe6 100644 --- a/inc/header.php +++ b/inc/header.php @@ -65,7 +65,7 @@ if (($GLOBALS['header_sent'] != '1') && ($GLOBALS['header_sent'] != '2')) { } // END - if // Add main title - $TITLE .= constant('MAIN_TITLE'); + $TITLE .= getConfig('MAIN_TITLE'); // Add title of module? (middle decoration will also be added!) if ((getConfig('enable_mod_title') == 'Y') || ((!isWhatSet()) && (!isActionSet())) || (getModule() == 'admin')) { @@ -85,7 +85,7 @@ if (($GLOBALS['header_sent'] != '1') && ($GLOBALS['header_sent'] != '2')) { define('__PAGE_TITLE', $TITLE); } elseif ((isInstalled()) && (!isAdminRegistered())) { // Installed but no admin registered - define('__PAGE_TITLE', sprintf(getMessage('SETUP_OF_MXCHANGE'), constant('MAIN_TITLE'))); + define('__PAGE_TITLE', sprintf(getMessage('SETUP_OF_MXCHANGE'), getConfig('MAIN_TITLE'))); } elseif ((!isInstalled()) || (!isAdminRegistered())) { // Installation mode define('__PAGE_TITLE', getMessage('INSTALLATION_OF_MXCHANGE'));