MaintenanceMode implements MiddlewareInterface

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.

Table of Contents

Interfaces

MiddlewareInterface

Methods

process()  : ResponseInterface
Calls the "unavailableAction" of the error controller if the system is in maintenance mode.

Methods

process()

Calls the "unavailableAction" of the error controller if the system is in maintenance mode.

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface

This only applies if the REMOTE_ADDR does not match the devIpMask

Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

        
On this page

Search results