See! That's the beauty of cake. It can look awfully restrictive with all this convention over configuration, but when it comes down to it the framework will let you achieve pretty much anything!
It's a while since I enthused, so well done once more everyone. That said, what do people think about the idea of trying to build an enhancement to make the router and/or request handler aware of virtual host names? I would put a trac in (even with a patch!), but if people think it's an edge case here, it may not be worth it. Simon On Apr 1, 12:02 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > > Another more elegant, and much more Cakey approach would be to set the > > viewPaths in the bootstrap based on the $_SERVER['HTTP_HOST']. > > Or (still based on $_SERVER['HTTP_HOST']) set a different layout, or > use ThemeView with the same trick again. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
