+ addFatalMessage(__FILE__, __LINE__, '{--MAILER_ALREADY_INSTALLED--}');
+} // END - if
+
+// Load header here
+loadIncludeOnce('inc/header.php');
+
+// Handle fatal errors
+runFilterChain('handle_fatal_errors');
+
+// Do we have plain or AJAX-enabled installation?
+if (isGetRequestElementSet('installer')) {
+ // Set installer type
+ setSession('installer', getRequestElement('installer'));
+
+ // Redirect to install.php again
+ redirectToUrl('install.php');
+} elseif (isAjaxInstaller()) {
+ // AJAX-enabled installer:
+ // Load 'init' page
+ addTemplateToInstallContent('install_page_init');