Project

General

Profile

Actions

Task #72368

closed

Use request type constants everywhere

Added by Benni Mack over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
Start date:
2015-12-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

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'].


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #78198: Finder class for 72368RejectedKrystian Szymukowicz2016-10-08

Actions
Actions #1

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45379

Actions #2

Updated by Gerrit Code Review over 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45379

Actions #3

Updated by Gerrit Code Review over 8 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45379

Actions #4

Updated by Benni Mack over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF