}
// "Getter" for DATE_KEY
-function getDayKey () {
+function getDateKey () {
// Do we have cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
return $GLOBALS[__FUNCTION__];
}
-// "Getter" for online_timeout
-function getOnlineTimeout () {
- // Do we have cache?
- if (!isset($GLOBALS[__FUNCTION__])) {
- // Determine it
- $GLOBALS[__FUNCTION__] = getConfig('online_timeout');
- } // END - if
-
- // Return cache
- return $GLOBALS[__FUNCTION__];
-}
-
// "Getter" for url_tlock
function getUrlTlock () {
// Do we have cache?
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));