cake-php@googlegroups.com
[Top] [All Lists]

Re: Remove layout from missing controller

Subject: Re: Remove layout from missing controller
From: Stephen
Date: Fri, 18 Mar 2011 08:51:06 +0000
Hi

Create /app/views/errors/missing_controller.ctp as a layout.

You can change this to show a generic 404.

Alternatively, if it's error text you want to remove, then you should get away with it by setting debug to 0 in /app/config/core.php

On 17 March 2011 19:18, Giovanni <giovanni.bmello@xxxxxxxxx> wrote:
Hi,

I would like to know if there is how to remove the layout that I have
for all other pages on my website in the missing_controller.ctp file?

Thank's,
[]'s

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php



--
Kind Regards
 Stephen

 http://www.ninjacodermonkey.co.uk


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/cake-php
<Prev in Thread] Current Thread [Next in Thread>