From 70ee734edd5ebc194feb24c32acb4ed23d055632 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Mon, 30 Aug 2010 14:25:55 +0200 Subject: [PATCH] Define a range of debug flags available for "users" (ie clients of the core). Signed-off-by: Florent Bruneau --- classes/plglobals.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/classes/plglobals.php b/classes/plglobals.php index 399a8a6..c830bad 100644 --- a/classes/plglobals.php +++ b/classes/plglobals.php @@ -27,6 +27,11 @@ define('DEBUG_BT', 1); define('DEBUG_VALID', 2); define('DEBUG_SMARTY', 4); +/* First allowed value for user-defined DEBUG_* flags. + * Set to 256 to keep rooms for future core flags (5 flags available). + */ +define('DEBUG_USERBASE', 256); + /** PlGlobals provides functions to read a set of configuration files and gives * access to this configurations. * -- 2.1.4