[!!!][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:Morton Jonuschat <m.jonuschat@mojocode.de> Tested-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl>
Showing
- typo3/sysext/backend/Classes/Console/Application.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Console/Application.php
- typo3/sysext/backend/Classes/Http/Application.php 1 addition, 13 deletionstypo3/sysext/backend/Classes/Http/Application.php
- typo3/sysext/core/Build/UnitTestsBootstrap.php 2 additions, 2 deletionstypo3/sysext/core/Build/UnitTestsBootstrap.php
- typo3/sysext/core/Classes/Core/Bootstrap.php 21 additions, 6 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php
- typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php 1 addition, 1 deletion...ext/core/Classes/FormProtection/FormProtectionFactory.php
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/core/Classes/Utility/PathUtility.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Utility/PathUtility.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-72368-TYPO3ConstantsRemoved.rst 30 additions, 0 deletions...Changelog/master/Breaking-72368-TYPO3ConstantsRemoved.rst
- typo3/sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php 1 addition, 1 deletion.../sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php
- typo3/sysext/extbase/Classes/Core/Bootstrap.php 1 addition, 1 deletiontypo3/sysext/extbase/Classes/Core/Bootstrap.php
- typo3/sysext/extbase/Classes/Service/EnvironmentService.php 1 addition, 1 deletiontypo3/sysext/extbase/Classes/Service/EnvironmentService.php
- typo3/sysext/frontend/Classes/Http/Application.php 1 addition, 0 deletionstypo3/sysext/frontend/Classes/Http/Application.php
- typo3/sysext/install/Classes/Http/Application.php 1 addition, 1 deletiontypo3/sysext/install/Classes/Http/Application.php
- typo3/sysext/install/ext_tables.php 1 addition, 1 deletiontypo3/sysext/install/ext_tables.php
Please register or sign in to comment