X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=install.php;h=948cbd9af6e328dc84e59150d7671c93ac154a6a;hp=aaf53f3d58d02c7d99f658c6a6cd3e39ccc5cfb7;hb=96e99262a97d399f98bb92bc11a5fc9c140ca388;hpb=1b4494c45790f1ba6808bb6a037d777147bd8f23 diff --git a/install.php b/install.php index aaf53f3d58..948cbd9af6 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] ?>