require("inc/config.php");
// Redirect only to registration page when this script is installed
-if ((isBooleanConstantAndTrue('mxchange_installed')) && (getTotalFatalErrors() == 0)) {
+if ((isInstalled()) && (getTotalFatalErrors() == 0)) {
// Is the extension installed?
if (!EXT_IS_ACTIVE("debug")) {
// Then abort here