Browse Source

detailed view profile panel fix

tags/2.0.0-beta
Mark 11 years ago
parent
commit
31383fe476
  1. 4
      extensions/yii/debug/views/default/panels/profile/detail.php

4
extensions/yii/debug/views/default/panels/profile/detail.php

@ -1,5 +1,6 @@
<?php
use yii\grid\GridView;
use yii\helpers\Html;
?>
<h1>Performance Profiling</h1>
<p>Total processing time: <b><?php echo $time; ?></b>; Peak memory: <b><?php echo $memory; ?></b>.</p>
@ -21,8 +22,9 @@ echo GridView::widget([
[
'attribute' => 'info',
'value' => function ($data) {
return str_repeat('<span class="indent"></span>', $data['level']) . $data['info'];
return str_repeat('<span class="indent"></span>', $data['level']) . Html::encode($data['info']);
},
'formtat' => 'html',
'options' => [
'width' => '60%',
],

Loading…
Cancel
Save