Welcome Guest, Not a member yet? Register   Sign In
Auto Select application?
#1

[eluser]anna16[/eluser]
Hi guys

I have already read this document below,
http://ellislab.com/codeigniter/user-gui..._apps.html

Now my problem is since i have multiple application that use
a single codeigniter core system.

How do i auto select each application i created.

let say when i type this address /foo/address
it redirect to /foo/ application.

and

if I type this address /bar/address
it redirect to /bar/ application.

I hope my explanation is not dense.

thanks in advance.
#2

[eluser]slowgary[/eluser]
The user guide page you've referenced already answers part of the question. Have you made separate subfolders inside of your application folder for each of your applications?

The other part of the equation will depend on how you want to "select" the application. You could edit index.php to set the $application_folder depending on anything you want. You could set the $application_folder based on subdomain or a URI segment, or even based on user input like $_POST data.




Theme © iAndrew 2016 - Forum software by © MyBB