TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
SetupCheck Class Reference

Public Member Functions

 getStatus ()
 

Protected Member Functions

 checkTrustedHostPattern ()
 
 checkDownloadsPossible ()
 
 checkSystemLocale ()
 
 checkLocaleWithUTF8filesystem ()
 
 checkSomePhpOpcodeCacheIsLoaded ()
 
 isTrueTypeFontWorking ()
 
 checkLibXmlBug ()
 

Detailed Description

Check TYPO3 setup status

This class is a hardcoded requirement check for the TYPO3 setup.

The status messages and title must not include HTML, use plain text only. The return values of this class are not bound to HTML and can be used in different scopes (eg. as json array).

Definition at line 30 of file SetupCheck.php.

Member Function Documentation

checkDownloadsPossible ( )
protected

Check if it is possible to download external data (e.g. TER) Either allow_url_fopen must be enabled or curl must be used

Returns
Status|Status

Definition at line 83 of file SetupCheck.php.

Referenced by SetupCheck\getStatus().

checkLibXmlBug ( )
protected

Check for bug in libxml

Returns
Status

Definition at line 288 of file SetupCheck.php.

References GeneralUtility\array2xml().

Referenced by SetupCheck\getStatus().

checkLocaleWithUTF8filesystem ( )
protected

Checks whether we can use file names with UTF-8 characters. Configured system locale must support UTF-8 when UTF8filesystem is set

Returns
Status

Definition at line 140 of file SetupCheck.php.

References $GLOBALS.

Referenced by SetupCheck\getStatus().

checkSomePhpOpcodeCacheIsLoaded ( )
protected

Check if some opcode cache is loaded

Returns
Status

Definition at line 181 of file SetupCheck.php.

References GeneralUtility\makeInstance().

Referenced by SetupCheck\getStatus().

checkSystemLocale ( )
protected

Check if systemLocale setting is correct (locale exists in the OS)

Returns
Status

Definition at line 106 of file SetupCheck.php.

References $GLOBALS.

Referenced by SetupCheck\getStatus().

checkTrustedHostPattern ( )
protected

Checks the status of the trusted hosts pattern check

Returns
Status

Definition at line 57 of file SetupCheck.php.

References $GLOBALS, GeneralUtility\ENV_TRUSTED_HOSTS_PATTERN_ALLOW_ALL, and GeneralUtility\hostHeaderValueMatchesTrustedHostsPattern().

Referenced by SetupCheck\getStatus().

isTrueTypeFontWorking ( )
protected

Create true type font test image

Returns
Status

Definition at line 246 of file SetupCheck.php.

Referenced by SetupCheck\getStatus().