Hi, I'm trying to do the same with latest Cake2.0
/app/Controller/AppController.php/
App::uses('Controller', 'MyAppController');
class AppController extends MyAppController {
function test(){ die("boo"); }
}
but cake can't find the Controller/MyAppController.php file ("Fatal
error: Class 'MyAppController' not found")
I've tryed /Lib, /app/Lib, app/Controller without success..
Thanks in advance.
Luca
On 16/08/2011 10:08, euromark wrote:
I use a plugin "tools" where I have my "own" AppController, .. etc as
Libs:
/libs/my_app_controller.php
MyAppController extends Controller {}
now I can use in all projects:
AppController extends MyAppController {}
same for all other classes
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php