1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Some debug refinements.

This commit is contained in:
Cameron
2016-12-01 14:00:37 -08:00
parent 26bee2b7d5
commit 666eab7a89
2 changed files with 5 additions and 4 deletions

View File

@@ -664,9 +664,11 @@ class e107_db_debug {
$message = "<pre>".print_r($message,true)."</pre>";
}
if (!E107_DBG_BASIC){
return FALSE;
if (!E107_DBG_BASIC && !E107_DBG_ALLERRORS && !E107_DBG_SQLDETAILS && !E107_DBG_NOTICES)
{
return false;
}
if ($TraceLev)
{
$bt = debug_backtrace();