Welcome Guest, Not a member yet? Register   Sign In
Controllers to handle errors
#2

[eluser]Chris Newton[/eluser]
In your HTACCESS file, add:

Code:
ErrorDocument 404 /yourcontroller/your_error_function

Database errors should probably be written to a log, rather than displayed for security purposes.


Messages In This Thread
Controllers to handle errors - by El Forum - 05-27-2008, 11:48 AM
Controllers to handle errors - by El Forum - 05-28-2008, 09:12 AM
Controllers to handle errors - by El Forum - 07-16-2008, 12:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB