mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Some debug refinements.
This commit is contained in:
@@ -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();
|
||||
|
@@ -1603,8 +1603,7 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
|
||||
|
||||
if(E107_DBG_PATH)
|
||||
{
|
||||
e107::getMessage()->addDebug("<h3>Sitelinks::isActive</h3>
|
||||
db=".$dbLink."<br />url=".e_REQUEST_URI."<br /><br />");
|
||||
// e107::getDebug()->log("db=".$dbLink."<br />url=".e_REQUEST_URI."<br /><br />");
|
||||
}
|
||||
|
||||
if($exactMatch)
|
||||
|
Reference in New Issue
Block a user