[ASK] multiple CI version |
[eluser]comix999[/eluser]
Hi All, Any help on this will be appreciated. I have 2 different CI application, and both are on different CI version (application A = CI 1.7.3 while application B = CI 2.1.0) Is it possible to combine both application so that I can click on some links / menus on application B to call the application A (vice versa) ? If it possible, how do I do that? Or should I just rewrite the application A in CI 2.1.0 version? Because I tried to upgrade the older one into CI 2.1.3, but the application cannot work correctly. Thanks.
[eluser]PhilTem[/eluser]
If you have them in completely separate folders then you can just create anchors between them. E.g. http://www.example.com/ci-173-app http://www.example.com/ci-210-app If you, however, want to have it in the same folder but accessible over different URIs/index-files, then you just need to change the name of index.php to 173.php and 210.php and adjust ${application,system}_folder therein. If you meant something totally different then please rephrase your qeustion ![]()
[eluser]comix999[/eluser]
Hi Phil, Thank you for your fast response. Yeah, I want to put these two applications into the same folder, and have it accessible over different URIs/index-files. So I just have to rename the index.php files and adjust the $application_folder & $system_folder in both apps? By doing so, I assume I should rename the application folder & system folder too (to prevent the folders merged) ? Shall I rename all the folder (including application folder & system folder), or just renaming the application & system folder only is enough? ![]()
[eluser]PhilTem[/eluser]
As you have different systems (ci 1.7.3 and 2.1.0) you should rename both system folders and both applications folder. You may also want to place it in subfolders like Code: /var/ while ci173.php has Code: $application_folder = 'application/173/'; respectively for the ci 2.1.0 app.
[eluser]comix999[/eluser]
oh I see.. I get it now.. Thank you for the fast responses! I'll update again after I combined both.. ![]()
[eluser]comix999[/eluser]
Hi again community, Firstly, I don't know whether I should reply this post or just make a new thread regarding my problem here. If I should make a new thread, please delete this post. Now I have two different CI application (which were put into the same folder, and have it accessible over different URIs/index-files) as Phil suggested. What I want to ask, is it possible to have one of the application to be accessed as a sub-folder as the other application? Let's say I want it to be like this: http://www.ci-173-app.com/ and http://www.ci-173-app.com/ci-210-app In the CI userguide, I can find how to Running Multiple Applications with one CodeIgniter Installation. But is it applicable on my case? Best Regards |
Welcome Guest, Not a member yet? Register Sign In |