CodeIgniter Forums
Same CodeIgniter installation, but different subdomains? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Same CodeIgniter installation, but different subdomains? (/showthread.php?tid=55597)



Same CodeIgniter installation, but different subdomains? - El Forum - 11-02-2012

[eluser]IanMcQ[/eluser]
Hi there,

I've a frontend CodeIgniter application that's running in /public_html/ (i.e. /public_html/system/). I've also a backend admin panel that runs at /public_html/admin/. I'd really like for /public_html/admin/ to pull from the frontend CodeIgniter installation (i.e. /public_html/system) and link the two installations together.

My reason for doing this: I'd like to begin using DataMapper in more instances around the app, and there's no way in hell I'm updating two installations and versions of those files. That would be a recipe for a nightmare.

I've done a bit of searching and I've found multiple answers as to how to do this linking-together-of-the-subdomains. Sometimes the version of CI has varied in these suggestions. I'm looking to link the most recent, up-to-date CI version (2.1.3) for my apps.

Let me know what you guys would recommend. Thanks in advanced.


Same CodeIgniter installation, but different subdomains? - El Forum - 11-03-2012

[eluser]IanMcQ[/eluser]
Solved my own problem. Didn't see this page:

http://ellislab.com/codeigniter/user-guide/general/managing_apps.html