]> git.mxchange.org Git - mailer.git/blobdiff - install.php
Ticket resolved, code rewrites and caching:
[mailer.git] / install.php
index 4a7366a5de40eb059e738c7533dba3148814f936..213a6485eaf7401f7435ad2389d25e90ee8cc821 100644 (file)
@@ -62,7 +62,7 @@ $GLOBALS['module'] = "install";
 require("inc/config.php");
 
 // Header
-require(PATH."inc/header.php");
+LOAD_INC("inc/header.php");
 
 // Reload page to page=welcome when it is not specified
 if (!isset($_GET['page'])) {
@@ -76,19 +76,19 @@ if ((isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTru
 } // END - if
 
 // Does something goes wrong?
-if (getTotalFatalMessages() == 0) {
+if (getTotalFatalErrors() == 0) {
        // Add main installation table
        LOAD_TEMPLATE("install_header");
 
        // Here start's our installtion stuff
-       require_once(PATH."inc/install-inc.php");
+       LOAD_INC_ONCE("inc/install-inc.php");
 
        // Close main installation table
        LOAD_TEMPLATE("install_footer");
 }
 
 // Footer
-require(PATH."inc/footer.php");
+LOAD_INC("inc/footer.php");
 
 //
 ?>