Give names to debug flags and add a new flag for smarty debugging:
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 30 Apr 2007 14:09:00 +0000 (14:09 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 30 Apr 2007 14:09:00 +0000 (14:09 +0000)
commit81e9c63f59b2f7040556d4f9232462e25a3d9f57
tree5a3c446e6ac8664f00bc2862e612f83dc0e0cdf1
parent7373df1ef02775172149f6a16c4c94fccd3a1ab8
Give names to debug flags and add a new flag for smarty debugging:
-> DEBUG_BT = 1, show mysql/banana/rpc backtrace
-> DEBUG_VALID = 2, validate xhtml
-> DEBUG_SMARTY = 4 = show smarty errors

 classes/mmlist.php              |    2 +-
 classes/platalpage.php          |   12 ++++++++----
 classes/xdb.php                 |    6 +++---
 include/banana/forum.inc.php    |    3 ++-
 include/banana/ml.inc.php       |    3 ++-
 include/banana/moderate.inc.php |    1 +
 include/platal.inc.php          |    4 ++++
 7 files changed, 21 insertions(+), 10 deletions(-)

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1781 839d8a87-29fc-0310-9880-83ba4fa771e5
classes/mmlist.php
classes/platalpage.php
classes/xdb.php
include/banana/forum.inc.php
include/banana/ml.inc.php
include/banana/moderate.inc.php
include/platal.inc.php