]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Reverted of changes in 1704, see ticket #160
[mailer.git] / inc / wrapper-functions.php
index 56e281e356472b3a7eaa763d7312e2c036b792f5..9de0106688795fd32e271459b3955db2ff1afe76 100644 (file)
@@ -341,6 +341,11 @@ function isDebugModeEnabled () {
        return ((isConfigEntrySet('DEBUG_MODE')) && (getConfig('DEBUG_MODE') == 'Y'));
 }
 
+// Checks wether SQL debugging is enabled
+function isSqlDebuggingEnabled () {
+       return ((isConfigEntrySet('DEBUG_SQL')) && (getConfig('DEBUG_SQL') == 'Y'));
+}
+
 // Checks wether we shall debug regular expressions
 function isDebugRegExpressionEnabled () {
        // Simply check it