X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=ffd748ab413feec03d9b2724367adb74e0c392ae;hb=3fcf6d848f3437f860c4899363366f24543a111e;hp=3500983bf28f65a0e955ec97d025456c4bb619ed;hpb=0a7dddfa2a4e8f4f761440a9c2a8bdd384fd2279;p=mailer.git diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 3500983bf2..ffd748ab41 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -1562,7 +1562,7 @@ function getSiteKey () { } // "Getter" for DATE_KEY -function getDayKey () { +function getDateKey () { // Do we have cache? if (!isset($GLOBALS[__FUNCTION__])) { // Determine it @@ -2430,6 +2430,12 @@ function changeDataInInclude ($FQFN, $comment, $prefix, $suffix, $DATA, $seek=0) return changeDataInFile($FQFN, $comment, $prefix, $suffix, $DATA, $seek); } +// Wrapper for changing entries in config-local.php +function changeDataInLocalConfigurationFile ($comment, $prefix, $suffix, $DATA, $seek = 0) { + // Call the inner function + return changeDataInInclude(getCachePath() . 'config-local.php', $comment, $prefix, $suffix, $DATA, $seek); +} + // Shortens ucfirst(strtolower()) calls function firstCharUpperCase ($str) { return ucfirst(strtolower($str));