Skip to content

Commit

Permalink
Merge pull request codeigniter4#8549 from kenjis/docs-upgrade_4xx.rst
Browse files Browse the repository at this point in the history
docs: add note for index.php change
  • Loading branch information
kenjis authored Feb 22, 2024
2 parents f7492e5 + a9c17a9 commit 65c6a61
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions user_guide_src/source/installation/upgrade_4xx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ Namespaces
Application Structure
=====================

.. important::
**index.php** is no longer in the root of the project! It has been moved inside
the **public** folder, for better security and separation of components.

This means that you should configure your web server to "point" to your project's
**public** folder, and not to the project root.

If you would use Shared Hosting, see :ref:`deployment-to-shared-hosting-services`.

- The **application** folder is renamed as **app** and the framework still has **system** folders,
with the same interpretation as before.
- The framework now provides for a **public** folder, intended as the document root for your app.
Expand Down

0 comments on commit 65c6a61

Please sign in to comment.