Define a range of debug flags available for "users" (ie clients of the
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 30 Aug 2010 12:25:55 +0000 (14:25 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 30 Aug 2010 12:35:28 +0000 (14:35 +0200)
core).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/plglobals.php

index 399a8a6..c830bad 100644 (file)
@@ -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.
  *