// Remember title in constant for the template
define('__PAGE_TITLE', html_entity_decode($TITLE));
- } elseif ((!mxchange_installed) || (!admin_registered)) {
+ } 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,
LOAD_TEMPLATE("metadata");
// Add meta description to header
- if ((mxchange_installed) && (admin_registered) && ($GLOBALS['module'] != "admin") && ($GLOBALS['module'] != "login") && (isset($db)) && (isset($link))) {
+ if ((isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')) && ($GLOBALS['module'] != "admin") && ($GLOBALS['module'] != "login") && (isset($db)) && (isset($link))) {
// Add meta description not in admin and login module and when the script is installed
META_DESCRIPTION($GLOBALS['module'], $GLOBALS['what']);
}