Commit 9c9046a5 authored by Sebastian Schreiber's avatar Sebastian Schreiber Committed by Benni Mack
Browse files

[DOCS] Fix wrong reference to global REQUEST_TYPE

There is no global variable named REQUEST_TYPE,
it is called TYPO3_REQUEST.

Releases: master
Resolves: #93206
Related: #92947
Change-Id: I86d3c2f8306744f41cfa504f4a42490f4b8eaa6a

Tested-by: Benjamin Franzke's avatarBenjamin Franzke <>
Tested-by: default avatarTYPO3com <>
Tested-by: Benni Mack's avatarBenni Mack <>
Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
parent bfb42cda
......@@ -168,7 +168,7 @@ is called before a controller action is executed. It should be noted that fallin
:php:`$GLOBALS['TYPO3_REQUEST']` is a technical debt in itself, the TYPO3 core will try to reduce the need
for this fallback over time. A call using this fallback looks like::
if (ApplicationType::fromRequest($GLOBALS['REQUEST_TYPE'])->isFrontend())
if (ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isFrontend())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment