You do not need App::uses('Controller', 'Controller');
but it's not wrong to declare it!
furthermore, it is even wise to do that because if you test your
application (via phpunit)
and create a single unit test for the app controller or probably any
other controller
you would otherwise run into a
David,
I am new to Cake PHP, so take that into account.
https://gist.github.com/1521980
This is working for me (so far).
Regards,
Tim
On Sat, Dec 24, 2011 at 1:40 PM, David Brisebois
david.briseb...@gmail.comwrote:
Hi guys
I've been working with CakePHP 1.2/1.3 in the past, but first
You do not need App::uses('Controller', 'Controller');
If you're using CakePHP 2.0 then you will need to place
AppController.php into your Controllers folder in your app.
It will be automatically loaded, and extended.
On Dec 26, 11:34 am, Timothy O'Reilly
timothy.john.orei...@gmail.com wrote:
Hi guys
I've been working with CakePHP 1.2/1.3 in the past, but first time
with 2.0.4
I just started a project, now trying to load Auth component from
AppController, turns out it doesn't seem to load ! I put the
AppController.php in /app/Controller, I put only a die() but nothing
happens !!
I