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
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67330

Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
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())
...
}
......
Markdown is supported
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