Set Header 404 |
Hi.
The way you used the set_status_header() is perfectly fine. Another option is to use helper function show_404() which will automatically load the application/errors/error_404.php or application/views/errors/html/error_404.php template depending on your CodeIgniter version and terminate controller execution. |
Messages In This Thread |
Set Header 404 - by wolfgang1983 - 04-24-2015, 01:49 AM
RE: Set Header 404 - by codinghamster - 04-24-2015, 03:12 AM
|