X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=9de0106688795fd32e271459b3955db2ff1afe76;hb=62947352bd79291a551be2b5a5cb7c7b89516856;hp=e989dd9a79aa392fe0d4847acf4dc69debbc1831;hpb=86993ed7d3b2dbab9d2725c7782b3e7ab693cd3f;p=mailer.git diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index e989dd9a79..9de0106688 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -340,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