Why not create two environnement each with special routes, and use htaccess rewrite rules to direct to the good app_[env].php?
On 23 juin, 09:52, Robert Knutsson <zybr...@gmail.com> wrote: > Hi > > I needed two applications in my symfony2 project and read the manual > (http://symfony.com/doc/2.0/cookbook/symfony1.html) where > the concept of applications in symfony2 was explained. > > Although the manual is very vague on how to implement two > applications, and there is no "best-practice" to be found on the > subject. > > My issue is that I wanna keep duplicated code to a minimum, and I need > some input on how to not duplicate "bootstrap.php.cache", > "autoload.php" and "console". > > Could you recommend me some best practices when it comes to multiple > applications in symfony2 or share your experiences? > > Cheers, > Robert -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
