X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=c5e1c0b4e11f3583ad1e4d1bcb7b5656a552304a;hb=b22e4f457ae707ca2b9ccb2ad0a0ad88c6ea0458;hp=75638936e493b07f504ba0211c230a9ee6957e33;hpb=4ccc02299e123d24c043c917fb16208d0338f300;p=mailer.git diff --git a/install.php b/install.php index 75638936e4..c5e1c0b4e1 100644 --- a/install.php +++ b/install.php @@ -1,7 +1,7 @@ 0) { - // Output fatal messages - loadInclude('inc/fatal_errors.php'); + addFatalMessage(__FILE__, __LINE__, '{--ALREADY_INSTALLED--}'); } // END - if // Load header here loadIncludeOnce('inc/header.php'); -// Add main installation table -LOAD_TEMPLATE('install_header'); +// Handle fatal errors +runFilterChain('handle_fatal_errors'); // Here start's our installtion stuff loadIncludeOnce('inc/install-inc.php'); -// Close main installation table -LOAD_TEMPLATE('install_footer'); +// Handle fatal errors again +runFilterChain('handle_fatal_errors'); + +// Load main installation table +loadTemplate('install_main', false, $GLOBALS['install_content']); // Footer loadIncludeOnce('inc/footer.php'); -// +// [EOF] ?>