]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
New wrapper function changeDataInLocalConfigurationFile() introduced
[mailer.git] / inc / wrapper-functions.php
index 8925b3deb989e232f54541393bc1b639a4842953..11ef1ef287f346d112133131bcb33ed652ee1963 100644 (file)
@@ -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 changeDataInInclude ($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));