X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=install.php;h=23fc61f58aa77b20c79dc27b2e3e67dc8d924cf1;hp=a700f22dab2d17f1202c36405d92c6c43482a112;hb=refs%2Fheads%2Fserver-0.2.1-FINAL%2Fshipsimu-org;hpb=49ffe0a4fb551d0965e97db1ad4ff12f13f4b9ad diff --git a/install.php b/install.php index a700f22dab..23fc61f58a 100644 --- a/install.php +++ b/install.php @@ -1,29 +1,18 @@ 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"); +loadPageFooter(); -// +// [EOF] ?>