mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Extra Debug Performance Markers added for e_module includes.
This commit is contained in:
@@ -100,10 +100,13 @@ class e107_db_debug {
|
||||
if (!strlen($sMarker)) {
|
||||
$sMarker = "Mark not set";
|
||||
}
|
||||
|
||||
|
||||
$srch = array('[',']');
|
||||
$repl = array("<small>","</small>");
|
||||
|
||||
$this->aTimeMarks[$nMarks]=array(
|
||||
'Index' => ($this->nTimeMarks),
|
||||
'What' => $sMarker,
|
||||
'What' => str_replace($srch,$repl,$sMarker),
|
||||
'%Time' => 0,
|
||||
'%DB Time' => 0,
|
||||
'%DB Count' => 0,
|
||||
|
Reference in New Issue
Block a user