Multiple applications with codeigniter from same framework directory

you can do this folder structure:

system
website-1 (your application)
----application
----index.php
website-2  (your application)
----application
----index.php
website-3  (your application)
----application
----index.php

move the ‘codeigniter application folder’ from the system and put it in one of you application folders.
copy the index.php file and paste inside your application folder.
In the index.php file:
You should have the following:

$system_folder = "../system";
$application_folder = "application";
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s