Hi, I have a website written with CakePHP. Website is divided into dwo distinct sections - section for visitors, accessible from /, and administration panel, which should be located in url /admin (or something). I want controllers for visitors to be located physically in /app/controllers directory and controllers for admin panel in /app/ controllers/admin directory. I want models to be shared, though. I have found that cake searches for controller files anywhere in /app/ controllers directory. Is there a possibility to control where cake looks for controllers (ie. look for basic controllers only in /app/ controllers, not in subdirectories; and look for admin controllers in / app/controllers/admin dir).
I have set routing for /admin/. Thanks, Przemek P.S. I have found CAKE_ADMIN, but it is not what I search for. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
