return (getConfig('DEBUG_MODE') == 'Y');
}
+// Checks wether we shall debug regular expressions
+function isDebugRegExpressionEnabled () {
+ // Simply check it
+ return (getConfig('DEBUG_REGEX') == 'Y');
+}
+
// Checks wether the cache instance is valid
function isCacheInstanceValid () {
return ((isset($GLOBALS['cache_instance'])) && (is_object($GLOBALS['cache_instance'])));