X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=16c8f4e833b4347094ea62fbf5f742db8ae01d76;hb=e5ee863933a5062292d2467fff8a51bf9a618785;hp=3e394cc273f208739f3c670c590ec3651ee22c28;hpb=7c971b2eac943d888a2c26dce573b41a48466c70;p=mailer.git diff --git a/install.php b/install.php index 3e394cc273..16c8f4e833 100644 --- a/install.php +++ b/install.php @@ -1,33 +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] ?>