Friday, November 29, 2013

Re: Production and Development Environment

You don't have to go through every controller.  Just on the one controller, the AppController, for the default deny, and the code that will skip that deny if you have a config that suggests you're in a development environment.  The only other Controller to touch will be the controller that looks after your login action, for which you'll want an accept after parent::beforeFilter().


On Fri, Nov 29, 2013 at 2:45 PM, Advantage+ <movepixels@gmail.com> wrote:

Hmm sounds like the exact thing I said……..and if you do

Beforefilter::parent () in the controller what was the point of asking if there is an easy way to no go thur every controller!

 

And that would not solve the problem either and if you took a few seconds to read the question Its clearly states no to go thru every controller
@simon - rookie ass fool

 

 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/qY0yLORk4MM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: