However, uses('sanitize');
Works. Louie On Tue, Nov 18, 2008 at 4:10 PM, Louie Miranda <[EMAIL PROTECTED]> wrote: > <?php > App::import('Sanitize'); > class CatalogsController extends AppController > { > > *Fatal error*: Class 'App' not found in * >> /Volumes/Web/Www/adminpage2/app/controllers/catalogs_controller.php* on >> line *2* >> > > Its weird. I think this is the proper way of instantiating the App::import. > However, I got the error -> Class 'App' not found? hehe. > > Any ideas? Do I have to clear my cache again? or check the import path? > anyway, I am going to check again. > > -- > Louie Miranda ([EMAIL PROTECTED]) > http://blog.louiemiranda.net > > Security Is A Series Of Well-Defined Steps > chmod -R 0 / ; and smile :) > -- Louie Miranda ([EMAIL PROTECTED]) http://blog.louiemiranda.net Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---