Skip to content

Commit 095a9d2

Browse files
committed
Reword the Resource access restrictions chapter
1 parent 3b9ba5c commit 095a9d2

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

source/upgradeguides/glpi-11.0.rst

+9-5
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,16 @@ Resource access restrictions
9595

9696
In GLPI 11.0, we restrict the resources that can be accessed through a web request.
9797

98-
We still support access to the PHP scripts located in the ``/ajax``, ``/front`` and ``/report`` directories.
99-
Their URL remains unchanged, for instance, the URL of the ``/front/index.php`` script of your plugin remains ``/plugins/myplugin/front/index.php``.
100-
101-
The static assets must be moved in the ``/public`` directory to be accessible.
98+
The static assets and PHP scripts must be moved in the ``/public`` directory to be accessible.
10299
Their URL must not contain the ``/public`` path.
103-
For instance, the URL of the ``/public/css/styles.css`` stylesheet of your plugin will be ``/plugins/myplugin/css/styles.css``.
100+
For instance:
101+
102+
* the URL of the ``/public/css/styles.css`` stylesheet of your plugin will be ``/plugins/myplugin/css/styles.css``;
103+
* the URL of the ``/public/mypluginapi.php`` script of your plugin will be ``/plugins/myplugin/mypluginapi.php``.
104+
105+
However, to ease the migration to GLPI 11.0, we still support public access to the PHP scripts located in the ``/ajax``, ``/front`` and ``/report`` directories,
106+
and their URL remains unchanged.
107+
For instance, the URL of the ``/front/index.php`` script of your plugin remains ``/plugins/myplugin/front/index.php``.
104108

105109
Legacy scripts access policy
106110
++++++++++++++++++++++++++++

0 commit comments

Comments
 (0)