Skip to content

Commit 73901de

Browse files
authored
Merge pull request #5426 from kenjis/fix-managing_apps.rst
docs: fix managing_apps.rst
2 parents 052817b + a2aed17 commit 73901de

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

user_guide_src/source/general/managing_apps.rst

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Managing your Applications
33
##########################
44

55
By default, it is assumed that you only intend to use CodeIgniter to
6-
manage one application, which you will build in your **application**
6+
manage one application, which you will build in your **app**
77
directory. It is possible, however, to have multiple sets of
88
applications that share a single CodeIgniter installation, or even to
99
rename or relocate your application directory.
@@ -16,18 +16,18 @@ it to a different location on your server, other than your project root, open
1616
your main **app/Config/Paths.php** and set a *full server path* in the
1717
``$appDirectory`` variable (at about line 44)::
1818

19-
public $appDirectory = '/path/to/your/application';
19+
public $appDirectory = '/path/to/your/app';
2020

2121
You will need to modify two additional files in your project root, so that
22-
they can find the ``Paths`` configuration file:
22+
they can find the **Paths** configuration file:
2323

24-
- ``/spark`` runs command line apps; the path is specified on or about line 35::
24+
- **/spark** runs command line apps; the path is specified on or about line 35::
2525

2626
$pathsConfig = 'app/Config/Paths.php';
2727
// ^^^ Change this line if you move your application folder
2828

2929

30-
- ``/public/index.php`` is the front controller for your webapp; the config
30+
- **/public/index.php** is the front controller for your webapp; the config
3131
path is specified on or about line 20::
3232

3333
$pathsConfig = FCPATH . '../app/Config/Paths.php';
@@ -41,8 +41,8 @@ If you would like to share a common CodeIgniter framework installation, to manag
4141
several different applications, simply put all of the directories located
4242
inside your application directory into their own (sub)-directory.
4343

44-
For example, let's say you want to create two applications, named "foo"
45-
and "bar". You could structure your application project directories like this:
44+
For example, let's say you want to create two applications, named **foo**
45+
and **bar**. You could structure your application project directories like this:
4646

4747
.. code-block:: text
4848
@@ -51,21 +51,22 @@ and "bar". You could structure your application project directories like this:
5151
/public
5252
/tests
5353
/writable
54+
spark
5455
/bar
5556
/app
5657
/public
5758
/tests
5859
/writable
60+
spark
5961
/codeigniter
6062
/system
61-
/docs
6263
63-
This would have two apps, "foo" and "bar", both having standard application directories
64-
and a ``public`` folder, and sharing a common codeigniter framework.
64+
This would have two apps, **foo** and **bar**, both having standard application directories
65+
and a **public** folder, and sharing a common **codeigniter** framework.
6566

66-
The ``index.php`` inside each application would refer to its own configuration,
67+
The **index.php** inside each application would refer to its own configuration,
6768
``../app/Config/Paths.php``, and the ``$systemDirectory`` variable inside each
68-
of those would be set to refer to the shared common "system" folder.
69+
of those would be set to refer to the shared common **system** folder.
6970

7071
If either of the applications had a command-line component, then you would also
71-
modify ``spark`` inside each application's project folder, as directed above.
72+
modify **spark** inside each application's project folder, as directed above.

0 commit comments

Comments
 (0)