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:
@@ -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();
|
||||||
|
@@ -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)
|
||||||
|
Reference in New Issue
Block a user