Actaully you don't need to copy the app_controller  from core, just
make a new one that has just this

class AppController extends Controller  {
        var $components = array('Acl','Output');   // components you want for
all controllers
        var $helpers = array('html', 'ajax');     //helpers you want for all 
views
        
}

The thing you should know is that these arrays are not additive
(though there are some ways to make them that way)  and put this in
your app's main folder.

this is mentioned briefly in http://manual.cakephp.org/chapter/controllers

some interesting reading on this can be found with

http://cakephp.org/search?q=appcontroller

HTH

Sam D

On 1/25/07, kabturek <[EMAIL PROTECTED]> wrote:
>
> Hi
> On Jan 25, 6:58 am, "lukemack" <[EMAIL PROTECTED]> wrote:
> > thanks guys - i resolved it by adding the helpers in
> > cake\app_controller.php. what would be the point of having this in the
> > \app folder? does it override the default one?
>
> You shouldn't edit anything in the /cake folder - these are the core
> libs and when upgrading to newer version your changes will be
> overwritten.
> Copy the app_controller to the /app and edit it there - it will have
> the same effect.
>
> greets,
>
>
> >
>


-- 
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

--~--~---------~--~----~------------~-------~--~----~
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