Skip to content

Commit

Permalink
Merge pull request #8887 from kenjis/docs-managing_apps.rst
Browse files Browse the repository at this point in the history
docs: remove outdated note in managing_apps.rst
  • Loading branch information
kenjis authored May 13, 2024
2 parents 179d1bf + 6a72da8 commit 304e806
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions user_guide_src/source/general/managing_apps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@ 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 directory.

.. 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``.

.. code-block:: text
{
...
"autoload": {
"psr-4": {
"App\\": "app", <-- Remove this line
"Config\\": "app/Config" <-- Remove this line
}
},
...
}
.. contents::
:local:
:depth: 2
Expand All @@ -42,13 +27,15 @@ your main **app/Config/Paths.php** and set a *full server path* in the
You will need to modify two additional files in your project root, so that
they can find the **Paths** configuration file:

- **/spark** runs command line apps.
- **spark** runs command line apps.

.. literalinclude:: managing_apps/002.php
:lines: 2-

- **/public/index.php** is the front controller for your webapp.
- **public/index.php** is the front controller for your webapp.

.. literalinclude:: managing_apps/003.php
:lines: 2-

.. _running-multiple-app:

Expand Down

0 comments on commit 304e806

Please sign in to comment.