X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=7f0946e36c242c7043198f27be617112ee85538f;hb=7ad2ef795f84a70e0afaccb2d12afb8c90df28e5;hp=99c1f7659317ab53c5b3a3dfea379747bbc55f9e;hpb=fe1e1d3b8291b1ca991e3d2e639cb28097c53d74;p=mailer.git diff --git a/install.php b/install.php index 99c1f76593..7f0946e36c 100644 --- a/install.php +++ b/install.php @@ -1,24 +1,14 @@ 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, getInstallerContent()); // Footer loadIncludeOnce('inc/footer.php');