Symfony 2.1 enable/disable stack traces -
Symfony 2.1 enable/disable stack traces -
few moments ago realised symfony prints out exceptions in prod env. how can turn off?
after little bit of looking, seems how (there improve solution couldn't find it).
under web/app.php
, alter $kernel = new appkernel('prod', true);
- true
here sets display_errors
true, alter false
.
if fails, should ensure display_errors turned off (if it's production, best done in php.ini rather using ini_set
).
symfony-2.1
Comments
Post a Comment