X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=f0e6ff308da6e681ddf8f60f8f3ed791b7c8e5bc;hb=cb77ae5b217928f9f9cdc317a32c3b3994b68741;hp=9e28d9c2aab4ddc765940dada10044a2e5f79460;hpb=5eb561b314f0d94663d4fb2a8d34aaaf4a79d226;p=mailer.git diff --git a/install.php b/install.php index 9e28d9c2aa..f0e6ff308d 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'); +// Load main installation table +loadTemplate('install_main', false, $GLOBALS['install_content']); // Footer loadIncludeOnce('inc/footer.php'); -// +// [EOF] ?>