Why wouldn't you want the exception template to show in development mode?
Surely the point of development mode is to show exceptions so the errors
that cause them can be tracked down?

On 25 May 2010 21:15, Lukas Kahwe Smith <[email protected]> wrote:

>
> On 25.05.2010, at 20:36, Fabien Potencier wrote:
>
> > On 5/25/10 4:36 PM, Lukas Kahwe Smith wrote:
> >> Hi,
> >>
> >> Not really sure whats going on, but for some reason sf 1.4 seems to load
> the (error|exception).php.html even in debug mode. The method in question
> looks a bit weird, especially the phpdoc comment for the $debug parameter
> seems to indicate there was some refactoring that might have broke things.
> Anyway, it seems to me like $templatePaths should leave out the first two
> entries if sf_debug is true:
> >
> > In debug mode (debug to true), symfony should load exception templates,
> and error templates otherwise.
>
>
> uhm, ok thats the part that is confusing me. what does debug have to do
> with exception vs. error? so i guess i should just delete my
> exception.html.php and then in production it will load my error.html.php
> (for errors and exceptions) and in development it will load the default
> error.html.php (for errors and exceptions).
>
> regards,
> Lukas Kahwe Smith
> [email protected]
>
>
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to