X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fconfig-functions.php;h=4b597a204d5ffadcd89d81a116aea04c1a28e0e8;hb=8c588af587862fbeef8e92b1f6b6a4c665749e2b;hp=84f442bb553ff2ce1eda957eb2ea5434d508ec50;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341;p=mailer.git diff --git a/inc/config-functions.php b/inc/config-functions.php index 84f442bb55..4b597a204d 100644 --- a/inc/config-functions.php +++ b/inc/config-functions.php @@ -206,13 +206,13 @@ function updateOldConfigFile () { // Default comment $comment = str_replace('_', '-', $new); - // Do we have a special comment? + // Is there a special comment? if (isset($comments[$new])) { // Then use it $comment = $comments[$new]; } // END - if - // Do we need to make $new lowercase? + // Does $new needs to be lower-case? $oldNew = $new; if (in_array($new, $lowerCase)) { // Then do so... :) @@ -276,14 +276,14 @@ function updateConfiguration ($entries, $values, $updateMode = '', $config = '0' // Do not update config in CSS mode if ((isCssOutputMode()) || (isRawOutputMode()) || (isInstallationPhase())) { // This logger line may be very noisy - /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Not updating configuration. entries[]=' . gettype($entries) . ',values[]=' . gettype($values) . ',updateMode=' . $updateMode . ',config=' . $config . ',isCssOutputMode()=' . intval(isCssOutputMode()) . ',isRawOutputMode()=' . intval(isRawOutputMode()) . ',isInstallationPhase()=' . intval(isInstallationPhase())); + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Not updating configuration. entries[]=' . gettype($entries) . ',values[]=' . gettype($values) . ',updateMode=' . $updateMode . ',config=' . $config . ',isCssOutputMode()=' . intval(isCssOutputMode()) . ',isRawOutputMode()=' . intval(isRawOutputMode()) . ',isInstallationPhase()=' . intval(isInstallationPhase())); return; } // END - if // Default is empty SQL $SQL = ''; - // Do we have multiple entries? + // Is there multiple entries? if (is_array($entries)) { // Walk through all foreach ($entries as $idx => $entry) {