Welcome Guest, Not a member yet? Register   Sign In
Multiple Applications
#1

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

[eluser]John_Betong[/eluser]
Check out this link:

http://johns-jokes.com/_menu.php

 
 
#3

[eluser]CodeIgniterNewbie[/eluser]
I did. And?
#4

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

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

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

 
 
#7

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

[eluser]Udi[/eluser]
Its simple.

Take the application folder out of system folder. So your structure will look like:
Code:
application
system
index.php

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.




Theme © iAndrew 2016 - Forum software by © MyBB