Added Propel version to the profiler panel
This commit is contained in:
parent
b890706c4e
commit
712d0792e2
|
@ -31,6 +31,7 @@ class PanelController extends ContainerAware
|
||||||
return $templating->renderResponse(
|
return $templating->renderResponse(
|
||||||
'PropelBundle:Panel:configuration.html.twig',
|
'PropelBundle:Panel:configuration.html.twig',
|
||||||
array(
|
array(
|
||||||
|
'propel_version' => \Propel::VERSION,
|
||||||
'configuration' => $this->container->get('propel.configuration')->getParameters(),
|
'configuration' => $this->container->get('propel.configuration')->getParameters(),
|
||||||
'default_connection' => $this->container->getParameter('propel.dbal.default_connection'),
|
'default_connection' => $this->container->getParameter('propel.dbal.default_connection'),
|
||||||
'logging' => $this->container->getParameter('propel.logging'),
|
'logging' => $this->container->getParameter('propel.logging'),
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
<thead>
|
<thead>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th>Propel version</th>
|
||||||
|
<td>{{ propel_version }}</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Default connection</th>
|
<th>Default connection</th>
|
||||||
<td>{{ default_connection }}</td>
|
<td>{{ default_connection }}</td>
|
||||||
|
|
Loading…
Reference in a new issue