]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/other_functions.php
Introduced (means, being added and then used) more wrappers for ext-order/other
[mailer.git] / inc / libs / other_functions.php
index 1aba657195fe7a3ea55d88245ae9757c3bcea3ff..a2b9fffed7d573072267cbbcc82842818dafe54c 100644 (file)
@@ -124,5 +124,41 @@ function getActivateXchange () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// "Getter" for admin_notify
+function getAdminNotify () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('admin_notify');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
+// "Getter" for internal_stats
+function getInternalStats () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('internal_stats');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
+// "Getter" for display_debug_sqls
+function getDisplayDebugSqls () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('display_debug_sqls');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // [EOF]
 ?>