diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/DefaultController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/DefaultController.php
index 09f0ba647a..458b34fafd 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Controller/DefaultController.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Controller/DefaultController.php
@@ -28,6 +28,6 @@ class DefaultController extends ContainerAware
*/
public function indexAction()
{
- return $this->container->get('templating')->renderResponse('FrameworkBundle:Default:index');
+ return $this->container->get('templating')->renderResponse('FrameworkBundle:Default:index.php');
}
}
diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php
index bced69e3fd..8960204f49 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php
@@ -43,7 +43,7 @@ class ExceptionController extends ContainerAware
}
$response = $this->container->get('templating')->renderResponse(
- 'FrameworkBundle:Exception:'.($this->container->get('kernel')->isDebug() ? 'exception' : 'error'),
+ 'FrameworkBundle:Exception:'.($this->container->get('kernel')->isDebug() ? 'exception.php' : 'error.php'),
array(
'exception' => new SafeDecorator($exception),
'logger' => $logger,
diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.php
index 801668bcb9..733b9c3727 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.php
@@ -1,5 +1,5 @@
- extend('FrameworkBundle:Exception:layout') ?>
+ extend('FrameworkBundle:Exception:layout.php') ?>
- render('FrameworkBundle:Exception:traces', array('exception' => $exception, 'position' => 0, 'count' => $previousCount)) ?>
+ render('FrameworkBundle:Exception:traces.php', array('exception' => $exception, 'position' => 0, 'count' => $previousCount)) ?>
getPreviouses() as $i => $previous): ?>
- render('FrameworkBundle:Exception:traces', array('exception' => $previous, 'position' => $i + 1, 'count' => $previousCount)) ?>
+ render('FrameworkBundle:Exception:traces.php', array('exception' => $previous, 'position' => $i + 1, 'count' => $previousCount)) ?>
@@ -43,7 +43,7 @@
- render('FrameworkBundle:Exception:logs', array('logs' => $logger->getLogs())) ?>
+ render('FrameworkBundle:Exception:logs.php', array('logs' => $logger->getLogs())) ?>
diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.xml.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.xml.php
index c6b97cf9e0..06d8d8c46e 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.xml.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.xml.php
@@ -1,12 +1,12 @@
', $view->getCharset())."\n" ?>
- render('FrameworkBundle:Exception:traces', array('exception' => $exception, 'position' => 0, 'count' => ($previousCount = count($exception->getPreviouses())))) ?>
+ render('FrameworkBundle:Exception:traces.php', array('exception' => $exception, 'position' => 0, 'count' => ($previousCount = count($exception->getPreviouses())))) ?>
getPreviouses() as $i => $previous): ?>
- render('FrameworkBundle:Exception:traces', array('exception' => $previous, 'position' => $i + 1, 'count' => $previousCount)) ?>
+ render('FrameworkBundle:Exception:traces.php', array('exception' => $previous, 'position' => $i + 1, 'count' => $previousCount)) ?>
diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/layout.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/layout.php
index 35911d5bfd..a46aadcfb0 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/layout.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/layout.php
@@ -8,7 +8,7 @@
body { font: 11px Verdana, Arial, sans-serif; color: #333 }
.sf-exceptionreset, .sf-exceptionreset .block, .sf-exceptionreset #message { margin: auto }
- render('FrameworkBundle:Exception:styles') ?>
+ render('FrameworkBundle:Exception:styles.php') ?>