But how do I define the layout that CakePHP should use for the
template error404.thtml


On 11 dec, 12:37, powtac <[EMAIL PROTECTED]> wrote:
> If You create a custom 404 layout, take care that an 404 code by HTTP
> is provided.
> This can be done by "header("http/1.0 404 not found");"
>
> To prevent errors you can use something like this:
>
> if(!headers_sent) {
>     header("http/1.0 404 not found");
>
> }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to