From: Florent Bruneau Date: Mon, 30 Aug 2010 12:25:55 +0000 (+0200) Subject: Define a range of debug flags available for "users" (ie clients of the X-Git-Tag: core/1.1.1~37 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=70ee734edd5ebc194feb24c32acb4ed23d055632;p=platal.git Define a range of debug flags available for "users" (ie clients of the core). Signed-off-by: Florent Bruneau --- 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. *