Added Propel version to the profiler panel

This commit is contained in:
William DURAND 2012-04-07 21:15:45 +02:00
parent b890706c4e
commit 712d0792e2
2 changed files with 5 additions and 0 deletions

View file

@ -31,6 +31,7 @@ class PanelController extends ContainerAware
return $templating->renderResponse(
'PropelBundle:Panel:configuration.html.twig',
array(
'propel_version' => \Propel::VERSION,
'configuration' => $this->container->get('propel.configuration')->getParameters(),
'default_connection' => $this->container->getParameter('propel.dbal.default_connection'),
'logging' => $this->container->getParameter('propel.logging'),

View file

@ -4,6 +4,10 @@
<thead>
</thead>
<tbody>
<tr>
<th>Propel version</th>
<td>{{ propel_version }}</td>
</tr>
<tr>
<th>Default connection</th>
<td>{{ default_connection }}</td>