X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=9de0106688795fd32e271459b3955db2ff1afe76;hb=62947352bd79291a551be2b5a5cb7c7b89516856;hp=56e281e356472b3a7eaa763d7312e2c036b792f5;hpb=09f5758c42a33a56bdd461c946ffe759a59c54aa;p=mailer.git diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 56e281e356..9de0106688 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -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