Skip to content

Commit

Permalink
fixed webprofiler on Windows (closes #9045)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Sep 6, 2010
1 parent eb7cbb7 commit 2f8db91
Showing 1 changed file with 11 additions and 1 deletion.
Expand Up @@ -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>

0 comments on commit 2f8db91

Please sign in to comment.