From dc9120d9c5538ca7caec3a03e97e84af2afceb65 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sat, 11 May 2024 17:48:45 +0900 Subject: [PATCH 1/3] docs: remove outdated important note Since v4.5.0, you can define App and Config in composer.json. --- user_guide_src/source/general/managing_apps.rst | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/user_guide_src/source/general/managing_apps.rst b/user_guide_src/source/general/managing_apps.rst index ff664668bf8b..de6b63f7f0f6 100644 --- a/user_guide_src/source/general/managing_apps.rst +++ b/user_guide_src/source/general/managing_apps.rst @@ -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 From d8cdb4ca1b601cec36a21e6ed512cd8117016b4e Mon Sep 17 00:00:00 2001 From: kenjis Date: Sat, 11 May 2024 17:55:33 +0900 Subject: [PATCH 2/3] docs: remove unneeded / before filename --- user_guide_src/source/general/managing_apps.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/general/managing_apps.rst b/user_guide_src/source/general/managing_apps.rst index de6b63f7f0f6..6c990cfc28cb 100644 --- a/user_guide_src/source/general/managing_apps.rst +++ b/user_guide_src/source/general/managing_apps.rst @@ -27,11 +27,11 @@ 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 -- **/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 From 6a72da86d6db0cb8253092022fcfbc641110b788 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sat, 11 May 2024 17:56:02 +0900 Subject: [PATCH 3/3] dpcs: remove `