Welcome Guest, Not a member yet? Register   Sign In
Best practices for loading Code Igniter with existing EE install?
#1

[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
#2

[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/
#3

[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.
#4

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

[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!
#6

[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




Theme © iAndrew 2016 - Forum software by © MyBB