X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-connect.php;h=8619a8510926b6439da01c74ad2093d1f9fd4cbf;hb=8ffce31d9ae39991adf913512d8f5db24fda0b2a;hp=45d1e87f67648beed2f9f92030aa12aafee867bc;hpb=06d179ae45f3f049003e6fe213249842b2a630fe;p=mailer.git diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 45d1e87f67..8619a85109 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -71,8 +71,8 @@ initFatalMessages(); // Init message system initMessages(); -// Check if this file is writeable or read-only and warn the user -if (!isInstalling()) { +// Are we in installation phase? +if ((!isInstalling()) && (!isInstallationPhase())) { // Load configuration file(s) here loadIncludeOnce('inc/load_config.php'); @@ -156,15 +156,15 @@ if (!isInstalling()) { // Load config loadIncludeOnce('inc/load_config.php'); + // Init filter system here + initFilterSystem(); + // Are we installation routine? if ((!isInstalling()) && (getOutputMode() != 1) && (getOutputMode() != -1)) { // You have to install first! redirectToUrl('install.php'); } // END - if - // Init filter system here - initFilterSystem(); - // Load cache loadIncludeOnce('inc/load_cache.php');