That worked:

uses('controller/Controller');
loadComponent('Email');

Thnx Dardo!

On Feb 22, 11:23 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]>
wrote:
> try uses();
>
> On Fri, Feb 22, 2008 at 6:29 AM, Charlie van de Kerkhof
>
> <[EMAIL PROTECTED]> wrote:
>
> >  Hi all,
>
> >  Is there a replacement for the App:import() in older 1.2 versions? I
> >  can't upgrade otherwise my app will break in thousand pieces :)
> >  This is the one.
> >  App::import('Core', 'Controller');
> >  Others I know like:
> >  App::import('Component', 'Email');
> >  was:
> >  loadComponent('Email');
>
> >  But that 'Core' thing I don't know.
> >  tnx!
--~--~---------~--~----~------------~-------~--~----~
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