![]() |
Multiple Sites - Different Views Approach - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Multiple Sites - Different Views Approach (/showthread.php?tid=35616) |
Multiple Sites - Different Views Approach - El Forum - 11-04-2010 [eluser]veritascs[/eluser] Just wondering if this is an okay approach (open for suggestions!). Goal: Sites have same underlying functionality (share controllers, models, etc), but different frontend view (each has it's own view). Current implementation: Work on local machine, make commits to remote SVN repository, then a hook pushes the code to each site. my config.php Code: //get current working directory and determine site based off that example "People" controller Code: //site determines which directory in the views directory to use Concern: each site has the other's views (even though endusers will never know it (only going to have 3 sites max). |