]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Some fixes for surfbar extension (#123), double->single, misc cleanups/fixes
[mailer.git] / inc / wrapper-functions.php
index 5d27ca58265e2582b7332ef9b2a41767e17dcd51..7068fdc8bb5baee5a5d0b658101fd58d621ccfe5 100644 (file)
@@ -325,6 +325,12 @@ function isDebugModeEnabled () {
        return (getConfig('DEBUG_MODE') == 'Y');
 }
 
+// Checks wether we shall debug regular expressions
+function isDebugRegExpressionEnabled () {
+       // Simply check it
+       return (getConfig('DEBUG_REGEX') == 'Y');
+}
+
 // Checks wether the cache instance is valid
 function isCacheInstanceValid () {
        return ((isset($GLOBALS['cache_instance'])) && (is_object($GLOBALS['cache_instance'])));