X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=fb26cff9eb067c8f1472d91e43011ba898c20b3f;hb=ba4f543dcfc94a48ab748d1ef0e45fbb7c64d718;hp=9f954414b405236f7eb011848b0f9f89832793b3;hpb=867569892ec2c60e21eca38559e3d050576c0bd0;p=mailer.git diff --git a/install.php b/install.php index 9f954414b4..fb26cff9eb 100644 --- a/install.php +++ b/install.php @@ -1,29 +1,23 @@ getRequestElement('install_page') + ); - // Here start's our installtion stuff - require_once(PATH."inc/install-inc.php"); + // Load main installation table + loadTemplate('install_main_ajax', false, $content); +} elseif (isPlainInstaller()) { + // Plain installer: + // Load include file + loadIncludeOnce('inc/install-inc.php'); - // Close main installation table - LOAD_TEMPLATE("install_footer"); + // Load main template + loadTemplate('install_main_plain'); +} else { + // What do you want, red or blue pill? AJAX or plain installer? ;-) + loadTemplate('install_selector'); } // Footer -require(PATH."inc/footer.php"); +loadIncludeOnce('inc/footer.php'); -// +// [EOF] ?>