Multiple Applications - 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: Multiple Applications (/showthread.php?tid=27317) |
Multiple Applications - El Forum - 02-07-2010 [eluser]CodeIgniterNewbie[/eluser] Is it possible to have multiple applications in one CI project? Is it just a matter of making a fresh copy of the /application/ directory and putting it under /system/ directory?? Are there any pros and cons to having multiple applications under one CI project? Am I better off just have 2 separate projects all together? Multiple Applications - El Forum - 02-07-2010 [eluser]John_Betong[/eluser] Check out this link: http://johns-jokes.com/_menu.php Multiple Applications - El Forum - 02-07-2010 [eluser]CodeIgniterNewbie[/eluser] I did. And? Multiple Applications - El Forum - 02-07-2010 [eluser]Johan André[/eluser] John, your site does not make alot of sense. Alot of links are broken and there are error messages all over... Multiple Applications - El Forum - 02-07-2010 [eluser]CodeIgniterNewbie[/eluser] Also, it doesn't answer my question. Are they multiple apps? If so, how did you do it? Should I do it? Pros and cons? Multiple Applications - El Forum - 02-07-2010 [eluser]John_Betong[/eluser] [quote author="CodeIgniterNewbie" date="1265573822"]I did. And?[/quote] http://ellislab.com/forums/viewthread/126545/ Did you follow the above link to the thread about the web page? The thread details how to run multiple applications from a single CodeIgniter application. The links which are not in red are on my localhost. Multiple Applications - El Forum - 02-07-2010 [eluser]John_Betong[/eluser] [quote author="Johan André" date="1265575208"]John, your site does not make alot of sense. Alot of links are broken and there are error messages all over...[/quote] http://ellislab.com/forums/viewthread/59270/ The web-page was originally created 23 August 2007 11:40 PM according to the above thread. As far as the broken links are concerned there is a note at the top of the page to say that only the links in red are valid online, the other links only work on my localhost. I have re-cololured the two broken links which were ee-core and test. The page is now valid. Multiple Applications - El Forum - 02-07-2010 [eluser]Udi[/eluser] Its simple. Take the application folder out of system folder. So your structure will look like: Code: application Now, index.php links directly to your application folder, in case of multiple applications under one framework, you should: 1. Copy application folder, rename it to whatever you want. 2. Copy index.php file, rename it to newapp.php - this is the file that will act like index.php in a standard CI Application. 3. in the newapp.php edit the application folder details. That's it. |