From 114ab0988e20ac6be39ad363ff897a1a3b85e565 Mon Sep 17 00:00:00 2001
From: Razican By default it is assumed that you only intend to use CodeIgniter to manage one application, which you will build in your
-application/ directory. It is possible, however, to have multiple sets of applications that share a single
+application/ directory. It is possible, however, to have multiple sets of applications that share a single
CodeIgniter installation, or even to rename or relocate your application folder.Managing your Applications
Renaming the Application Folder
@@ -83,7 +83,7 @@ To do so open your main index.php and set a full server path
put all of the directories located inside your application folder into their
own sub-folder.
For example, let's say you want to create two applications, "foo" and "bar". You could structure your +
For example, let's say you want to create two applications, "foo" and "bar". You could structure your application folders like this:
applications/foo/
@@ -103,12 +103,12 @@ applications/bar/views/
To select a particular application for use requires that you open your main index.php file and set the $application_folder -variable. For example, to select the "foo" application for use you would do this:
+variable. For example, to select the "foo" application for use you would do this:$application_folder = "applications/foo";
Note: Each of your applications will need its own index.php file which -calls the desired application. The index.php file can be named anything you want.
+calls the desired application. The index.php file can be named anything you want. -- cgit v1.2.3-24-g4f1b From 4b9c62980599228f070b401c7673dce8085b0c61 Mon Sep 17 00:00:00 2001 From: Derek JonesBy default it is assumed that you only intend to use CodeIgniter to manage one application, which you will build in your -application/ directory. It is possible, however, to have multiple sets of applications that share a single +application/ directory. It is possible, however, to have multiple sets of applications that share a single CodeIgniter installation, or even to rename or relocate your application folder.
For example, let's say you want to create two applications, "foo" and "bar". You could structure your +
For example, let's say you want to create two applications, "foo" and "bar". You could structure your application folders like this:
applications/foo/
@@ -103,12 +103,12 @@ applications/bar/views/
To select a particular application for use requires that you open your main index.php file and set the $application_folder -variable. For example, to select the "foo" application for use you would do this:
+variable. For example, to select the "foo" application for use you would do this:$application_folder = "applications/foo";
Note: Each of your applications will need its own index.php file which -calls the desired application. The index.php file can be named anything you want.
+calls the desired application. The index.php file can be named anything you want. -- cgit v1.2.3-24-g4f1b