]> git.mxchange.org Git - mailer.git/blobdiff - inc/config-functions.php
Don't attempt to load configuration or count modules in installation phase
[mailer.git] / inc / config-functions.php
index 41505b26dd2b17220a4ef6dd05aadb78f285361e..310fc6bae363d073db062de3c10cf1497e5ae6a7 100644 (file)
@@ -372,6 +372,12 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0'
 
 // Filter for loading configuration
 function FILTER_LOAD_CONFIGURATION ($no = '0') {
+       // Is installation phase?
+       if (isInstallationPhase()) {
+               // Then don't load any configuration
+               return;
+       } // END - if
+
        // Is the value null, it comes from the 'init' filter chain
        if (is_null($no)) {
                $no = '0';