X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=install.php;h=fb26cff9eb067c8f1472d91e43011ba898c20b3f;hp=b1ad8f173626a96ce458bd4f54763af8368065a2;hb=08a9a052ddd67568fa7bcc98c4300ce0cc6bfdc0;hpb=0437f06b273f885db05736449a952c6eb72086ca diff --git a/install.php b/install.php index b1ad8f1736..fb26cff9eb 100644 --- a/install.php +++ b/install.php @@ -1,34 +1,23 @@ getRequestElement('install_page') + ); - // Footer - loadIncludeOnce('inc/footer.php'); + // Load main installation table + loadTemplate('install_main_ajax', false, $content); +} elseif (isPlainInstaller()) { + // Plain installer: + // Load include file + loadIncludeOnce('inc/install-inc.php'); + + // Load main template + loadTemplate('install_main_plain'); } else { - // Output fatal messages - loadInclude('inc/fatal_errors.php'); + // What do you want, red or blue pill? AJAX or plain installer? ;-) + loadTemplate('install_selector'); } -// +// Footer +loadIncludeOnce('inc/footer.php'); + +// [EOF] ?>