]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
A lot more wrapper functions introduced, TODOs.txt updated
[mailer.git] / inc / wrapper-functions.php
index 4c3e4a8c0e835c630b338c1dc3677e731c6ae04a..6a9fd6a6522a71b21ec1618dc79a9fe3a701b663 100644 (file)
@@ -1946,6 +1946,18 @@ function getLastMonth () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// "Getter" for __DB_NAME
+function getDbName () {
+       // Do we have cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('__DB_NAME');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // Checks wether proxy configuration is used
 function isProxyUsed () {
        // Do we have cache?