]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/other_functions.php
Extension ext-theme doesn't need to be activated in admin area
[mailer.git] / inc / libs / other_functions.php
index f6ee8282e35d90bc209a67724e9545778362b0d9..d80080f1cd58cae28a74e85a1ee08bf011b5e46d 100644 (file)
@@ -60,5 +60,21 @@ function displayDebugSqls () {
        $GLOBALS['__page_footer'] .= loadTemplate('admin_other_sqls', TRUE, $OUT);
 }
 
+//-----------------------------------------------------------------------------
+//                Wrapper functions for configuration entries
+//-----------------------------------------------------------------------------
+
+// Getter for 'reject_url' config entry
+function getRejectUrl () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('reject_url');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // [EOF]
 ?>