]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
German documentation updated
[mailer.git] / inc / wrapper-functions.php
index 56e281e356472b3a7eaa763d7312e2c036b792f5..6cbb71e3b85b1379cd01b272b4f217fac496e9d9 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
@@ -397,6 +402,7 @@ function copyFileVerified ($source, $dest, $chmod = '') {
 // Send a header but checks before if we can do so
 function sendHeader ($header) {
        // Send the header
+       //* DEBUG: */ logDebugMessage(__FUNCTION__ . ': header=' . $header);
        $GLOBALS['header'][] = trim($header);
 }