}
// "Getter" for DATE_KEY
-function getDayKey () {
+function getDateKey () {
// Do we have cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
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));