1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 07:06:30 +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>"; $message = "<pre>".print_r($message,true)."</pre>";
} }
if (!E107_DBG_BASIC){ if (!E107_DBG_BASIC && !E107_DBG_ALLERRORS && !E107_DBG_SQLDETAILS && !E107_DBG_NOTICES)
return FALSE; {
return false;
} }
if ($TraceLev) if ($TraceLev)
{ {
$bt = debug_backtrace(); $bt = debug_backtrace();

View File

@@ -1603,8 +1603,7 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
if(E107_DBG_PATH) if(E107_DBG_PATH)
{ {
e107::getMessage()->addDebug("<h3>Sitelinks::isActive</h3> // e107::getDebug()->log("db=".$dbLink."<br />url=".e_REQUEST_URI."<br /><br />");
db=".$dbLink."<br />url=".e_REQUEST_URI."<br /><br />");
} }
if($exactMatch) if($exactMatch)