fixed webprofiler on Windows (closes #9045)

This commit is contained in:
Fabien Potencier 2010-09-06 15:25:33 +02:00
parent eb7cbb77ec
commit 2f8db9135a

View File

@ -6,7 +6,17 @@
<?php foreach ($bag->keys() as $key): ?>
<tr>
<th><?php echo $key ?></th>
<td><?php echo $bag->get($key) ?></td>
<td>
<?php if (is_object($bag->get($key))): ?>
<em>Object</em>
<?php elseif (is_resource($bag->get($key))): ?>
<em>Resource</em>
<?php elseif (is_array($bag->get($key))): ?>
<em>Array</em>
<?php else: ?>
<?php echo $bag->get($key) ?>
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>
</table>