X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Finstall-inc.php;h=065726a9d276ca44e3bd7bc80caefb4e1059c565;hb=f74581eca45c393033acfd9d7798b958031bc625;hp=1ad0dbc5ca8ae3cd2033320d32f505eec7afeebf;hpb=8b3b0fae36adfa1ef72f436d107d11404b326ec5;p=mailer.git diff --git a/inc/install-inc.php b/inc/install-inc.php index 1ad0dbc5ca..065726a9d2 100644 --- a/inc/install-inc.php +++ b/inc/install-inc.php @@ -74,7 +74,7 @@ if ((REQUEST_ISSET_GET(('page')) && (REQUEST_GET('page') == 5))) { } // END - if // Is MXChange installed or no admin registered so far? -if ((!isBooleanConstantAndTrue('mxchange_installed')) || (!isBooleanConstantAndTrue('admin_registered'))) +if ((!isInstalled()) || (!isAdminRegistered())) { // Set URL for FORM actions define('__BURL_ACTION', constant('URL')); @@ -264,7 +264,7 @@ if ((!isBooleanConstantAndTrue('mxchange_installed')) || (!isBooleanConstantAndT break; case "finalize": // Write captured data to files - if ((REQUEST_ISSET_POST(('finalize'))) && (!isBooleanConstantAndTrue('mxchange_installed'))) { + if ((REQUEST_ISSET_POST(('finalize'))) && (!isInstalled())) { // You have submitted data then we have to reset the fatal messages $SQLs = array(); @@ -360,7 +360,7 @@ if ((!isBooleanConstantAndTrue('mxchange_installed')) || (!isBooleanConstantAndT // Installation is done! LOAD_URL("install.php?page=finalize"); } - } elseif (isBooleanConstantAndTrue('mxchange_installed')) { + } elseif (isInstalled()) { // Redirection after writing data... :-) LOAD_TEMPLATE("install_finished"); } else {