]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
Even more code moved, thanks to km4l again. :)
[mailer.git] / inc / mysql-connect.php
index 70a3ef45b937a4b67ba104c3266a85d63b94f39b..40a86ef8f9ec909cde97e4f04ff6db6abec42b39 100644 (file)
@@ -149,6 +149,12 @@ if ((!isInstalling()) && (!isInstallationPhase())) {
                // Load the include
                loadIncludeOnce('inc/' . $inc . '.php');
        } // END - foreach
+
+       // Check wether we are in installation routine
+       if ((!isInstalling()) && (!isCssOutputMode()) && (!isRawOutputMode())) {
+               // Redirect to the URL
+               redirectToUrl('install.php');
+       } // END - if
 }
 
 // Handle fatal errors