Skip to content
Snippets Groups Projects
Commit ed879e99 authored by Benni Mack's avatar Benni Mack Committed by Wouter Wolters
Browse files

[!!!][TASK] Use request type constants everywhere

Each entry point (application) now defines the actual
request type at a very early point of the request, so
each call within TYPO3 can use the predefined constants
at all times.

Previously this was done within the Bootstrap after loading
LocalConfiguration.php etc, and by evaluating other
parameters to detect which RequestType should be used.

By directly setting the option within each application, the
constants "TYPO3_enterInstallScript" and "TYPO3_cliMode"
can be removed, as well as $GLOBALS['TYPO3_AJAX'].

Resolves: #72368
Releases: master
Change-Id: I5080e425d70cb6d4c9a9573dbc20216c93cd3332
Reviewed-on: https://review.typo3.org/45379


Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent b81e4fa0
Branches
Tags
Showing
with 67 additions and 33 deletions
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