Merge pull request #8887 from kenjis/docs-managing_apps.rst

docs: remove outdated note in managing_apps.rst
This commit is contained in:
kenjis 2024-05-13 10:58:26 +09:00 committed by GitHub
commit 304e806172
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
@ -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: