X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-connect.php;h=40a86ef8f9ec909cde97e4f04ff6db6abec42b39;hb=9d794e925ba857067b03efb20649c72eee9c5797;hp=70a3ef45b937a4b67ba104c3266a85d63b94f39b;hpb=5e9e2e145dc720e1459a6f1f51f2a32f1fcc9b6d;p=mailer.git diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 70a3ef45b9..40a86ef8f9 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -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