More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / config-functions.php
index 02563b99353adeba374ca1750f7086d2133604b5..48e6d0a63af13b9b3f4831a41d78d7ea4c740714 100644 (file)
@@ -294,7 +294,7 @@ function updateOldConfigFile () {
 // Update config entries
 function updateConfiguration ($entries, $values, $updateMode='') {
        // Do not update config in CSS mode
-       if ((getOutputMode() == '1') || (getOutputMode() == -1) || (isInstallationPhase())) {
+       if ((getOutputMode() == 1) || (getOutputMode() == -1) || (isInstallationPhase())) {
                return;
        } // END - if
 
@@ -349,7 +349,7 @@ function updateConfiguration ($entries, $values, $updateMode='') {
 }
 
 // Filter for loading configuration
-function FILTER_LOAD_CONFIGURATION ($no = '0') {
+function FILTER_LOAD_CONFIGURATION ($no = 0) {
        // Check for cache extension, cache-array and if the requested configuration is in cache
        if ((isset($GLOBALS['cache_array']['config'][$no])) && (is_array($GLOBALS['cache_array']['config'][$no]))) {
                // Load config from cache