Creating your own application folders next to the EE folder would be great, but how to do it…. (and make it work). I think CI only allows one application folder?
I think I remember reading something recently that indicated in v2 of CI there would be the ability to easily use one CI install for multiple applications. (I believe some have been doing this for awhile, but I never was able to grok the details…)
Since EE has done this, my assumption was that it may be working from CI v2 and this then would open up this possibility.
Hopefully, someone will document this so that average users can make use. (Unlike the spotty docs for running a CI app from within EE which require super-human skills to comprehend. 😉 )
If you look at 2.1, we’ve separated out the folders a little bit.
system/codeigniter is the CI core, system/expressionengine are the main EE files, and system/installer is obviously the installer. EE and the installer are discrete CI applications. With the logic of which to use in system/index.php.
Do you want to use parts of EE in your CI app, or are you just looking to reduce the amount of folders that are up there?
Yep, that would work. Although in theory it doesn’t matter where the individual application folders are, as long as the $system_path variable at the top of each index.php file points to the CI directory.
Which index.php file are you referring to? There’s one inside the ‘system’ folder and one inside the ‘root’ of install?
I am having similar setup. I have my application folders as below
–CodeIgniter –expressionengine –backoffice (custom CI application)
I have this setup working fine until I am not using any EE related classes. Now, I want to use EE api to submit new channel entry from my custom application. How can I get this work?
EE version: 2.1.3
I am having similar setup. I have my application folders as below —CodeIgniter —expressionengine —backoffice (custom CI application)
Hi Marupilla!
Based on your setup now. I assume that your CI-app is totally independent with EE, Am I right? An advantage of more in control.
My question is. If your CI-app uses login, I am pretty sure that login credentials with your CI-app is the same with the EE login credentials as well which is exp_members table if I am not mistaken, just something like that. I wonder how can you maintain a global user session between EE and your CI-app.
cheers, Jay
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.