Skip to content

Commit 304e806

Browse files
authored
Merge pull request #8887 from kenjis/docs-managing_apps.rst
docs: remove outdated note in managing_apps.rst
2 parents 179d1bf + 6a72da8 commit 304e806

1 file changed

Lines changed: 4 additions & 17 deletions

File tree

user_guide_src/source/general/managing_apps.rst

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,6 @@ 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.
1010

11-
.. important:: When you installed CodeIgniter v4.1.9 or before, and if there are ``App\\`` and ``Config\\`` namespaces in your ``/composer.json``'s ``autoload.psr-4`` like the following, you need to remove these lines, and run ``composer dump-autoload``.
12-
13-
.. code-block:: text
14-
15-
{
16-
...
17-
"autoload": {
18-
"psr-4": {
19-
"App\\": "app", <-- Remove this line
20-
"Config\\": "app/Config" <-- Remove this line
21-
}
22-
},
23-
...
24-
}
25-
2611
.. contents::
2712
:local:
2813
:depth: 2
@@ -42,13 +27,15 @@ your main **app/Config/Paths.php** and set a *full server path* in the
4227
You will need to modify two additional files in your project root, so that
4328
they can find the **Paths** configuration file:
4429

45-
- **/spark** runs command line apps.
30+
- **spark** runs command line apps.
4631

4732
.. literalinclude:: managing_apps/002.php
33+
:lines: 2-
4834

49-
- **/public/index.php** is the front controller for your webapp.
35+
- **public/index.php** is the front controller for your webapp.
5036

5137
.. literalinclude:: managing_apps/003.php
38+
:lines: 2-
5239

5340
.. _running-multiple-app:
5441

0 commit comments

Comments
 (0)