‪TYPO3CMS  10.4
TYPO3\CMS\Install\Service\EnableFileService Class Reference

Static Public Member Functions

static bool isFirstInstallAllowed ()
 
static bool createInstallToolEnableFile ()
 
static bool removeInstallToolEnableFile ()
 
static bool removeFirstInstallFile ()
 
static bool installToolEnableFileExists ()
 
static bool checkInstallToolEnableFile ()
 
static bool isInstallToolEnableFilePermanent ()
 
static bool installToolEnableFileLifetimeExpired ()
 

Public Attributes

const INSTALL_TOOL_ENABLE_FILE_PATH = 'typo3conf/ENABLE_INSTALL_TOOL'
 
const FIRST_INSTALL_FILE_PATH = 'FIRST_INSTALL'
 
const INSTALL_TOOL_ENABLE_FILE_LIFETIME = 3600
 

Static Protected Member Functions

static extendInstallToolEnableFileLifetime ()
 
static string getInstallToolEnableFilePath ()
 
static array getFirstInstallFilePaths ()
 

Detailed Description

Basic Service to check and create install tool files

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Definition at line 25 of file EnableFileService.php.

Member Function Documentation

◆ checkInstallToolEnableFile()

static bool TYPO3\CMS\Install\Service\EnableFileService::checkInstallToolEnableFile ( )
static

◆ createInstallToolEnableFile()

static bool TYPO3\CMS\Install\Service\EnableFileService::createInstallToolEnableFile ( )
static

◆ extendInstallToolEnableFileLifetime()

static TYPO3\CMS\Install\Service\EnableFileService::extendInstallToolEnableFileLifetime ( )
staticprotected

◆ getFirstInstallFilePaths()

static array TYPO3\CMS\Install\Service\EnableFileService::getFirstInstallFilePaths ( )
staticprotected

◆ getInstallToolEnableFilePath()

static string TYPO3\CMS\Install\Service\EnableFileService::getInstallToolEnableFilePath ( )
staticprotected

◆ installToolEnableFileExists()

static bool TYPO3\CMS\Install\Service\EnableFileService::installToolEnableFileExists ( )
static

Checks if the install tool file exists

Returns
‪bool

Definition at line 102 of file EnableFileService.php.

Referenced by TYPO3\CMS\Install\Report\SecurityStatusReport\getInstallToolProtectionStatus(), and TYPO3\CMS\Install\Middleware\Maintenance\process().

◆ installToolEnableFileLifetimeExpired()

static bool TYPO3\CMS\Install\Service\EnableFileService::installToolEnableFileLifetimeExpired ( )
static

Checks if the lifetime of the install tool file is expired

Returns
‪bool

Definition at line 148 of file EnableFileService.php.

Referenced by TYPO3\CMS\Install\Report\SecurityStatusReport\getInstallToolProtectionStatus().

◆ isFirstInstallAllowed()

◆ isInstallToolEnableFilePermanent()

static bool TYPO3\CMS\Install\Service\EnableFileService::isInstallToolEnableFilePermanent ( )
static

◆ removeFirstInstallFile()

static bool TYPO3\CMS\Install\Service\EnableFileService::removeFirstInstallFile ( )
static

◆ removeInstallToolEnableFile()

static bool TYPO3\CMS\Install\Service\EnableFileService::removeInstallToolEnableFile ( )
static

Member Data Documentation

◆ FIRST_INSTALL_FILE_PATH

const TYPO3\CMS\Install\Service\EnableFileService::FIRST_INSTALL_FILE_PATH = 'FIRST_INSTALL'

Definition at line 35 of file EnableFileService.php.

◆ INSTALL_TOOL_ENABLE_FILE_LIFETIME

const TYPO3\CMS\Install\Service\EnableFileService::INSTALL_TOOL_ENABLE_FILE_LIFETIME = 3600

◆ INSTALL_TOOL_ENABLE_FILE_PATH

const TYPO3\CMS\Install\Service\EnableFileService::INSTALL_TOOL_ENABLE_FILE_PATH = 'typo3conf/ENABLE_INSTALL_TOOL'