Skip to content

Commit 8fd896a

Browse files
committed
Add documentation for app.php becoming index.php
1 parent 4e689e2 commit 8fd896a

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

  • development/development/upgrade

development/development/upgrade/400.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,33 @@ All Jabber/XMPP features have been removed in phpBB 4.0:
5757

5858
This removal was driven by lack of browser support for XMPP and limited adoption within the phpBB community.
5959

60+
Front Controller Changes
61+
========================
62+
63+
In phpBB 4.0, the front controller used for Symfony routing has been changed
64+
from ``app.php`` to ``index.php``.
65+
66+
In phpBB 3.3.x, routes were accessed via ``app.php``::
67+
68+
/app.php/faq
69+
70+
In phpBB 4.0, routes are now accessed via ``index.php``::
71+
72+
/index.php/faq
73+
74+
Direct access via ``app.php`` is no longer supported. Extensions and external
75+
integrations must use ``index.php``.
76+
77+
Extensions using phpBB routing helpers (for example,
78+
``controller_helper::route()``) do not require changes, as URLs will be
79+
generated correctly.
80+
81+
However, any hardcoded references to ``app.php`` must be updated. This includes:
82+
83+
- Template files
84+
- PHP code constructing URLs manually
85+
- JavaScript referencing application routes
86+
6087
Class and function changes
6188
==========================
6289
Several classes and functions have been changed or removed. If your extension or code uses phpBB internals, you’ll want to:

0 commit comments

Comments
 (0)