[eluser]toopay[/eluser]
Iam not sure i understand your issue there. You need to run multiple application, which sharing a same codeigniter, yes?
If yes, the easiest way would be :
1. create a folder called "frameworks", and copy the whole files you download from CI repo. Try to access the welcome page. If it show the welcome page, then continue next step.
2. CUT the application folder, and the index.php(the front socket) to your clipboard. Now move in the directory, which has same level with framework, create a folder, called "app1", then paste into this folder. It will create a structure like this :
Code:
-- framework/system
-- app1/application
/index.php
3. Open "index.php" find this line, and adjust :
Code:
/*
*---------------------------------------------------------------
* SYSTEM FOLDER NAME
*---------------------------------------------------------------
*
* This variable must contain the name of your "system" folder.
* Include the path if the folder is not in the same directory
* as this file.
*
*/
$system_path = '../framework/system';
4. If everything goes well, you should now could see the standard codeigniter welcome page, by access the app/index.php. If not, some error message will help you to fix the path.
From here, to create another application, you only need to copy the "app1" into another "app2" and so on.