HuyPV
Thursday, January 13, 2011
404 errors:
You can create your own default module to override the one provided with Symfony, or add an existing module and action to the config/settings.yml file.
all:
.settings:
error_404_module: yourmodule
error_404_action: youraction
Supply a suitable template and clear the cache.
500 errors:
Add a file error.html.php to the config/error directory in the root of your application.
Title:
Custom 404, 500 error pages for Symfony
Description:
404 errors: You can create your own default module to override the one provided with Symfony, or add an existing module and action to the c...
...
Rating:
4