1
0
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:
Cameron
2018-01-25 16:10:51 -08:00
parent 573ea978b7
commit 318a849b77
2 changed files with 7 additions and 2 deletions

View File

@@ -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,