X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=install.php;h=44559e8996c18575855e1465f0f924df3eee409f;hb=d1cf572ce023d55e2dbb810d1d6f9301c3d4e3db;hp=67092fc509ccb55b8defa3dfa9440c98251ab157;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/install.php b/install.php index 67092fc509..44559e8996 100644 --- a/install.php +++ b/install.php @@ -1,33 +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] ?>