‪TYPO3CMS  9.5
TYPO3\CMS\Frontend\Middleware\MaintenanceMode Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Middleware\MaintenanceMode:

Public Member Functions

ResponseInterface process (ServerRequestInterface $request, RequestHandlerInterface $handler)
 

Detailed Description

Checks whether the whole Frontend should be put into "Page unavailable mode" unless the devIPMask matches the current visitor's IP.

The global setting $GLOBALS['TYPO3_CONF_VARS']['FE']['pageUnavailable_force'] is used for turning on the maintenance mode.

Definition at line 32 of file MaintenanceMode.php.

Member Function Documentation

◆ process()

ResponseInterface TYPO3\CMS\Frontend\Middleware\MaintenanceMode::process ( ServerRequestInterface  $request,
RequestHandlerInterface  $handler 
)

Calls the "unavailableAction" of the error controller if the system is in maintenance mode. This only applies if the REMOTE_ADDR does not match the devIpMask

Parameters
ServerRequestInterface$request
RequestHandlerInterface$handler
Returns
‪ResponseInterface

Definition at line 42 of file MaintenanceMode.php.

References $GLOBALS.