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
// 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);
}