CodeIgniter Forums
Best practices for loading Code Igniter with existing EE install? - 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: Best practices for loading Code Igniter with existing EE install? (/showthread.php?tid=8614)



Best practices for loading Code Igniter with existing EE install? - El Forum - 05-24-2008

[eluser]Bruce Brown[/eluser]
Hello,

I've been working with EE for about a year and a half and now, in preparation for EE 2.0, want to load Code Igniter on my EE server. I see I can rename the index.php of either or both, so I can load them along-site each other. Can anyone suggest any best practices for co-locating EE and Code Igniter?

Bruce


Best practices for loading Code Igniter with existing EE install? - El Forum - 05-24-2008

[eluser]Tom Glover[/eluser]
Put CI and all its files including the index.php in a subfolder, called CI or similar. Then load it like and set the base url to this: http://www.yourdomain/ci/


Best practices for loading Code Igniter with existing EE install? - El Forum - 05-24-2008

[eluser]Pascal Kriete[/eluser]
You could also simulate a subfolder, by renaming the CI index.php file to something else. Say, 'about', and then use .htaccess to run all 'about' requests through that file.

It very much depends on your needs. You really can't go wrong though.


Best practices for loading Code Igniter with existing EE install? - El Forum - 05-24-2008

[eluser]Bruce Brown[/eluser]
Thanks for the help. I'll get started. Smile


Best practices for loading Code Igniter with existing EE install? - El Forum - 05-24-2008

[eluser]Derek Allard[/eluser]
Hey Bruce, if you do get it up and running, be sure to post a "how to" and let us know where to find it!


Best practices for loading Code Igniter with existing EE install? - El Forum - 05-24-2008

[eluser]Bruce Brown[/eluser]
Derek,

Are you speaking of the questionnaire app which I've described in other posts? Or, Colocating EE and CI? I'll try to post a good description of whatever I find. Thanks for the suggestion.

Bruce