SYS - System configuration
The following configuration variables can be used for system-wide configuration.
Note
The configuration values listed here are keys into the
$GLOBALS global PHP array.
These variables can be set in one of the following files:
-
file
Create , Type: textMask -
folder
Create , Type: textMask -
create
Group , Type: text -
sitename , Type: text
-
default
Scheme , Type: text -
encryption
Key , Type: text -
trusted
Hosts , Type: textPattern -
dev
IPmask , Type: text -
ddmmyy , Type: text
-
hhmm , Type: text
-
login
Copyright , Type: textWarranty Provider -
login
Copyright , Type: textWarranty URL -
textfile_
ext , Type: text -
mediafile_
ext , Type: text -
miscfile_
ext , Type: text -
bin
Path , Type: text -
bin
Setup , Type: multiline -
set
Memory , Type: intLimit -
php
Time , Type: textZone -
UTF8filesystem , Type: bool
-
system
Locale , Type: text -
reverse
Proxy , Type: listIP -
reverse
Proxy , Type: textHeader Multi Value -
reverse
Proxy , Type: textPrefix -
reverse
Proxy , Type: textSSL -
reverse
Proxy , Type: textPrefix SSL -
display
Errors , Type: int -
production
Exception , Type: phpClassHandler -
debug
Exception , Type: phpClassHandler -
error
Handler , Type: phpClass -
error
Handler , Type: errorsErrors -
exceptional
Errors , Type: errors -
belog
Error , Type: errorsReporting -
generate
Apache , Type: boolHtaccess -
ip
Anonymization , Type: int -
system
Maintainers , Type: array -
features , Type:
-
form.
legacy , Type: boolUpload Mime Types -
redirects.
hit , Type: boolCount -
security.
backend. , Type: boolenforce Referrer -
security.
frontend. , Type: boolenforce Content Security Policy -
security.
frontend. , Type: boolreport Content Security Policy
-
-
available
Password , Type: arrayHash Algorithms -
$GLOBALS
['TYPO3_ , Type: arrayCONF_ VARS'] ['SYS'] ['link Handler'] -
lang , Type:
-
require
Approved , Type: boolLocalizations
-
-
messenger , Type:
-
routing , Type: array
-
-
File
Info , Type:-
file
Extension , Type: arrayTo Mime Type -
mime
Type , Type: arrayCompatibility
-
-
allowed
Php , Type: arrayDisable Functions
fileCreateMask
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['fileCreateMask']
- Default
- 0664
File mode mask for Unix file systems (when files are uploaded/created).
folderCreateMask
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['folderCreateMask']
- Default
- 2775
As above, but for folders.
createGroup
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['createGroup']
- Default
- ''
Group for newly created files and folders (Unix only). Group ownership can be changed on Unix file systems (see above). Set this if you want to change the group ownership of created files/folders to a specific group.
This makes sense when the webserver is running on a different user/group to you. Create a new group on your system and add yourself and the webserver user to the group. Now you can safely set the last bit in fileCreateMask/folderCreateMask to 0 (for example 770). Note: the user running your webserver needs to be a member of the group you specify here otherwise there may be errors.
sitename
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']
- Default
- 'TYPO3'
Name of the base site.
defaultScheme
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['defaultScheme']
- Default
- 'http'
Set the default URI scheme. This is used in links if no scheme is set. It can be set to
'https'for the default setting.
encryptionKey
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']
- Default
- ''
- This is a "salt" used for encryption, CRC checksums and
- validations. You can enter any string here but try to keep it secret.
- When changing this value, flush all the caches: A change to this value might invalidate
- temporary information, such as URLs mappings.
cookieDomain
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['cookieDomain']
- Default
- ''
Restricts the domain name for FE and BE session cookies. When setting the value to ".example.org" (replace example.org with your domain!), login sessions will be shared across subdomains. Alternatively, if you have more than one domain with sub-domains, you can set the value to a regular expression to match against the domain of the HTTP request. However, this requires that all sub-domains are within the same TYPO3 instance because a session can be tied to only one database.
The result of the match is used as the cookie domain. For example : php:
/\.or(example1 |example2)\. com$/ /\.. Separate domains for FE and BE can be set using $TYPO3_CONF_VARS[FE][cookieDomain] and $TYPO3_CONF_VARS[BE][cookieDomain] respectively.(example1\. com) | (example2\. net)$/
trustedHostsPattern
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern']
- Default
- 'SERVER_NAME'
Regular expression pattern that matches all valid hostnames (including their ports) of this TYPO3 installation, or the string
SERVER_(default).NAME The default value
SERVER_checks if the HTTP Host header equals the SERVER_NAME and SERVER_PORT. This is secure in correctly configured hosting environments and does not need further configuration. If you cannot change your hosting environment, you can enter a regular expression here.NAME Examples:
.*\.matches all hosts that end withexample\. org .example.with all corresponding subdomains.org .*\.matches all hostnames with subdomains fromexample\. (org |com) .example.andorg .example..com Be aware that HTTP Host header may also contain a port. If your installation runs on a specific port, you need to explicitly allow this in your pattern, for example
example\.allows onlyorg: 88 example., notorg: 88 example.. To disable this check completely (not recommended because it is insecure) you can use aorg .*pattern.See also security guidelines.
devIPmask
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask']
- Default
- '127.0.0.1,::1'
Defines a list of IP addresses which allows development output to be displayed. The
debugfunction will use this as a filter. See the function() \TYPO3\for details on syntax. Setting this to blank value will deny all. Setting to "*" will allow all.CMS\ Core\ Utility\ General Utilitycmp IP () See also security guidelines.
Changed in version 12.4.14/13.1.0
The default value has been changed from 'd-m-y' to 'Y-m-d' (ISO 8601) to avoid unclear dates.
ddmmyy
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy']
- Default
- 'Y-m-d'
On how to format a date, see PHP function date().
hhmm
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm']
- Default
- 'H:i'
Format of Hours-Minutes - see PHP-function date()
loginCopyrightWarrantyProvider
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['loginCopyrightWarrantyProvider']
- Default
- ''
If you provide a warranty for TYPO3 to your customers insert your (company) name here. It will appear in the login dialog as the warranty provider. (You must also set URL below).
loginCopyrightWarrantyURL
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['loginCopyrightWarrantyURL']
- Default
- ''
Add the URL of the page describing the extent of the warranty provided. This URL is displayed in the login dialog as the place where people can learn more about the conditions of your warranty. Must be set (more than 10 chars) together with the loginCopyrightWarrantyProvider message.
textfile_ext
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['textfile_ext']
- Default
- 'txt,ts,typoscript,html,htm,css,tmpl,js,sql,xml,csv,xlf,yaml,yml'
Text file extensions (files that can be edited). Executable PHP files may not be editable if disallowed!
mediafile_ext
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext']
- Default
- 'gif,jpg,jpeg,bmp,png,pdf,svg,ai,mp3,wav,mp4,ogg,flac,opus,webm,youtube,vimeo'
Comma-separated list of file extensions recognized as media files by TYPO3. Must be in lowercase with no spaces in between.
miscfile_ext
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['miscfile_ext']
- Default
- 'gif,jpg,jpeg,bmp,png,pdf,svg,ai,mp3,wav,mp4,ogg,flac,opus,webm,youtube,vimeo'
New in version 13.4.12 / 12.4.31
This property was added with security fix Important: #106240 - Enforce File Extension and MIME-Type Consistency in File Abstraction Layer.
Allows file extensions to be specified that don't belong to either
textfile_orext mediafile_, such asext ziporxz.
binPath
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['binPath']
- Default
- ''
List of absolute paths as search locations for external programs, for example
/usr/. (ImageMagick paths have to be configured separately)local/ webbin/,/ home/ xyz/ bin/
binSetup
-
- Type
- multiline
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['binSetup']
- Default
- ''
List of programs separated by newlines or commas. By default, programs will be searched in default paths and the special paths defined by binPath. When PHP has
openbasedirenabled, the programs can not be found and have to be configured here.Example:
perl=/usr/ bin/ perl,unzip=/ usr/ local/ bin/ unzip
setMemoryLimit
-
- Type
- int
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['setMemoryLimit']
- Default
- 0
Memory limit in MB: if more than 16, TYPO3 will try to use
ini_to set the memory limit of PHP. This works only if the functionset () ini_is not disabled by your sysadmin.set ()
phpTimeZone
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['phpTimeZone']
- Default
- ''
Timezone to force for all
dateand() mktimefunctions. A list of supported values can be found at php.net.() If blank, a valid fallback will be searched for by PHP ( date.timezone in
php., server defaults, etc). If no fallback is found, the value of "UTC" is used instead.ini
UTF8filesystem
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['UTF8filesystem']
- Default
- true
If set to
true, TYPO3 uses UTF-8 to store file names. This allows for accented latin letters as well as other non-latin characters, like Cyrillic and Chinese.If set to
false, filenames containing characters such as umlauts or "special" characters such as Japanese will be renamed to something "safe" when uploaded in the backend.Attention
This requires a UTF-8 compatible locale in order to work otherwise problems with filenames containing special characters will occur. See [SYS][systemLocale] and php function setlocale().
systemLocale
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemLocale']
- Default
- ''
Locale used for certain system related functions, for example escaping shell commands. If there are problems due to filenames containing special characters, the value of this option is probably wrong. See php function setlocale().
reverseProxyIP
-
- Type
- list
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyIP']
- Default
- ''
- allowedValues
- 1
'','*'or a comma separated list of IPv4 or IPv6 addresses in CIDR-notation. For IPv4 addresses wildcards are additionally supported.
If TYPO3 is behind one or more (intransparent) reverse proxies or load balancers the IP addresses or CIDR ranges must be added here and reverseProxyHeaderMultiValue must be set to
firstorlast.config/system/additional.php$GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyHeaderMultiValue'] = 'first'; $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyIP'] = '192.168.0.0/16';Copied!
reverseProxyHeaderMultiValue
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyHeaderMultiValue']
- allowedValues
- 1 none Do not evaluate the reverse proxy header
- first
- Use the first IP address in the proxy header
- last
- Use the last IP address in the proxy header
- Default
-
'none'
Position of the authoritative IP address within the
X-header (for example,Forwarded- For X-usesForwarded- For: 1. 2. 3. 4, 2. 3. 4. 5, 3. 4. 5. 6 1.with2. 3. 4 firstand3.with4. 5. 6 last).
reverseProxyPrefix
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyPrefix']
- Default
- ''
Optional prefix to be added to the internal URL (SCRIPT_NAME and REQUEST_URI).
Example: When proxying
external.toexample. org internal.this has to be set toexample. org/ prefix prefix
reverseProxySSL
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxySSL']
- Default
- ''
- allowedValues
- 1
'','*'or a comma separated list of IPv4 or IPv6 addresses in CIDR-notation. For IPv4 addresses, wildcards are supported.
*or a list of IP addresses of proxies that use SSL (https) for the connection to the client, but an unencrypted connection (http) to the server. If*all proxies defined in [SYS][reverseProxyIP] use SSL.New in version 13.4
If a client establishes a secure connection, TYPO3 also checks for
X-header.Forwarded- Proto
reverseProxyPrefixSSL
-
- Type
- text
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyPrefixSSL']
- Default
- ''
Prefix added to the internal URL (SCRIPT_NAME and REQUEST_URI) when accessing the server via an SSL proxy. This setting overrides [SYS][reverseProxyPrefix].
displayErrors
-
- Type
- int
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors']
- Default
- -1
- allowedValues
- 1
-1TYPO3 does not touch the PHP setting. If [SYS][devIPmask] matches the users IP address, the configured [SYS][debugExceptionHandler] is used instead of the [SYS][productionExceptionHandler] to handle exceptions.
0- Live: Do not display a PHP error message. Sets
display_. Overrides the value of [SYS][exceptionalErrors] and sets it to 0 (= no errors are turned into exceptions). The configured [SYS][productionExceptionHandler] is used as the exception handler.errors=0 1- Debug: Display error messages with the registered
[SYS][errorHandler].
Sets
display_. The configured [SYS][debugExceptionHandler] is used as exception handler.errors=1
Configures whether PHP errors or exceptions should be displayed, effectively setting the PHP option
display_during runtime.errors See also security guidelines.
productionExceptionHandler
-
- Type
- phpClass
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler']
- Default
\TYPO3\CMS\ Core\ Error\ Production Exception Handler:: class
Classname to handle exceptions that occur in the TYPO3 code. Leave this empty to disable exception handling. The default exception handler displays a nice error message when something goes wrong. The error message is logged to the configured logs.
Note: The configured "productionExceptionHandler" is used if [SYS][displayErrors] is set to "0" or is set to "-1" and [SYS][devIPmask] does not match the user's IP.
debugExceptionHandler
-
- Type
- phpClass
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler']
- Default
\TYPO3\CMS\ Core\ Error\ Debug Exception Handler:: class
Classname to handle exceptions that occur in the TYPO3 code. Leave empty to disable exception handling. The default exception handler displays the complete stack trace of an exception. The error message and the stack trace are logged to the configured logs.
Note: The configured "debugExceptionHandler" is used if [SYS][displayErrors] is set to "1" or is set to "-1" or "2" and the [SYS][devIPmask] matches the users IP.
errorHandler
-
- Type
- phpClass
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandler']
- Default
\TYPO3\CMS\ Core\ Error\ Error Handler:: class
Classname to handle PHP errors. This class displays and logs all errors that are registered as [SYS][errorHandlerErrors]. Leave empty to disable error handling. Errors will be logged and can be sent to the developer log (if installed) or to the
syslogdatabase table. If an error is registered in [SYS][exceptionalErrors] it will be turned into an exception to be handled by the configured exceptionHandler.
errorHandlerErrors
-
- Type
- errors
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandlerErrors']
- Default
E_ALL & ~ (E_ STRICT | E_ NOTICE | E_ COMPILE_ WARNING | E_ COMPILE_ ERROR | E_ CORE_ WARNING | E_ CORE_ ERROR | E_ PARSE | E_ ERROR)
The E_* constants that will be handled by the [SYS][errorHandler]. Not all PHP error types can be handled:
E_will always be handled, regardless of this setting. Default is 30466 =USER_ DEPRECATED E_(see PHP documentation).ALL & ~ (E_ STRICT | E_ NOTICE | E_ COMPILE_ WARNING | E_ COMPILE_ ERROR | E_ CORE_ WARNING | E_ CORE_ ERROR | E_ PARSE | E_ ERROR)
exceptionalErrors
-
- Type
- errors
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors']
- Default
E_ALL & ~ (E_ STRICT | E_ NOTICE | E_ COMPILE_ WARNING | E_ COMPILE_ ERROR | E_ CORE_ WARNING | E_ CORE_ ERROR | E_ PARSE | E_ ERROR | E_ DEPRECATED | E_ USER_ DEPRECATED | E_ WARNING | E_ USER_ ERROR | E_ USER_ NOTICE | E_ USER_ WARNING)
The E_* constant that will be converted into an exception by the default [SYS][errorHandler]. Default is 4096 =
E_(see PHP documentation).ALL & ~ (E_ STRICT | E_ NOTICE | E_ COMPILE_ WARNING | E_ COMPILE_ ERROR | E_ CORE_ WARNING | E_ CORE_ ERROR | E_ PARSE | E_ ERROR | E_ DEPRECATED | E_ USER_ DEPRECATED | E_ WARNING | E_ USER_ ERROR | E_ USER_ NOTICE | E_ USER_ WARNING) E_USER_DEPRECATED is always excluded to avoid exceptions being thrown for deprecation messages.
belogErrorReporting
-
- Type
- errors
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['belogErrorReporting']
- Default
E_ALL & ~ (E_ STRICT | E_ NOTICE)
Configures which PHP errors should be logged to the "syslog" database table (extension belog). If set to "0" no PHP errors are logged to the
sys_table. Default is 30711 =log E_(see PHP documentation).ALL & ~ (E_ STRICT | E_ NOTICE)
generateApacheHtaccess
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['generateApacheHtaccess']
- Default
- 1
TYPO3 can create
.htaccessfiles which are used by Apache Webserver. They are useful for access protection and performance improvements. Currently, if the files don't exist, they are created from the following directories: typo3temp/compressor/.You should disable this feature if you are not running Apache or want to use your own rule sets.
ipAnonymization
-
- Type
- int
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['ipAnonymization']
- Default
- 1
- allowedValues
- 1 0 Disabled - Do not modify IP addresses at all 1 Mask the last byte for IPv4 addresses / Mask the Interface ID for IPv6 addresses (default) 2 Mask the last two bytes for IPv4 addresses / Mask the Interface ID and SLA ID for IPv6 addresses
Configures if and how IP addresses stored via TYPO3s API should be anonymized ("masked") with a zero-numbered replacement. This is respected within anonymization tasks only, not when creating new log entries.
systemMaintainers
-
- Type
- array
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemMaintainers']
- Default
- null
A list of backend user IDs that are allowed to access the Install Tool
features
-
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['features']
New features of TYPO3 that are activated on new installations (but upgrading installations may still use the old behaviour).
These settings are feature toggles and can be changed in the Backend module Settings in the section Feature Toggles, but not in Configure Installation-Wide Options.
form.legacyUploadMimeTypes
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['form.legacyUploadMimeTypes']
- Default
- true
If enabled, some mime types are predefined for the "FileUpload" and "ImageUpload" elements of the "form" extension which always allows file uploads of these types, regardless of the form element definition.
redirects.hitCount
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['redirects.hitCount']
- Default
- false
If enabled, and extension "redirects" is loaded, each redirect is counted and the last hit time is logged to the database.
security.backend.enforceReferrer
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['security.backend.enforceReferrer']
- Default
- true
If enabled, HTTP referrer headers are enforced for backend and install tool requests to mitigate potential same-site request forgery attacks. The behavior can be disabled if HTTP proxies filter the required referrer header. As this is a potential security risk, it is recommended to enable this option.
security.frontend.enforceContentSecurityPolicy
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['security.frontend.enforceContentSecurityPolicy']
- Default
- false
If enabled, the Content Security Policy is enforced in frontend scope (HTTP header
Content-).Security- Policy This option can be enabled in combination with security.frontend.reportContentSecurityPolicy. Then both headers are set.
security.frontend.reportContentSecurityPolicy
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['security.frontend.reportContentSecurityPolicy']
- Default
- false
If enabled, the Content Security Policy is applied in the frontend scope as report-only (HTTP header
Content-).Security- Policy- Report- Only This option can be enabled in combination with security.frontend.enforceContentSecurityPolicy to set both headers.
security.frontend.allowInsecureFrameOptionInShowImageController
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['security.frontend.allowInsecureFrameOptionInShowImageController']
- Default
- false
New in version 13.1, 12.4.15, 11.5.37
This option configures whether the show image controller (eID
tx_) is allowed to supply an insecurecms_ showpic &frameURI parameter (for backwards compatibility). The&frameparameter is no longer used in the TYPO3 core.It is disabled by default and it is strongly recommended to leave it turned off. For details see Important: #103306 - Frame GET parameter in tx_cms_showpic eID disabled. To enable it:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['security.frontend.allowInsecureFrameOptionInShowImageController'] = true;Copied!
security.frontend.allowInsecureSiteResolutionByQueryParameters
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['security.frontend.allowInsecureSiteResolutionByQueryParameters']
- Default
- false
Resolving sites with the
idandLHTTP query parameters is now denied by default. However, it is still allowed for particular pages, for example, "example.org" - as long as the page ID123is in the scope of the site configured for the base URL "example.org".The flag can be used to reactivate the previous behavior:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['features']['security.frontend.allowInsecureSiteResolutionByQueryParameters'] = true;Copied!
security.usePasswordPolicyForFrontendUsers
-
Changed in version 13.0
The feature toggle
security.has been removed because TypoScript-based password validation in EXT:felogin has also been removed.use Password Policy For Frontend Users The password policy configured in $GLOBALS['TYPO3_CONF_VARS']['FE']['passwordPolicy'] is now always active for frontend user records in DataHandler and for the password recovery functionality in EXT:felogin.
availablePasswordHashAlgorithms
-
- Type
- array
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['availablePasswordHashAlgorithms']
- Default
- 1
A list of available password hash mechanisms. Extensions may register additional mechanisms here.
$GLOBALS['TYPO3_CONF_VARS']['SYS']['linkHandler']
-
- Type
- array
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['linkHandler']
Links entered in the TYPO3 backend are stored in an internal format in the database, like
t3://. The handlers for the different resource keys (likepage?uid=42 pagein the example) are registered as link handlers.The TYPO3 Core registers the following link handlers:
page(see EXT:core/Classes/LinkHandling/PageLinkHandler.php (GitHub))file(see EXT:core/Classes/LinkHandling/FileLinkHandler.php (GitHub))folder(see EXT:core/Classes/LinkHandling/FolderLinkHandler.php (GitHub))url(see EXT:core/Classes/LinkHandling/UrlLinkHandler.php (GitHub))email(see EXT:core/Classes/LinkHandling/EmailLinkHandler.php (GitHub))record(see EXT:core/Classes/LinkHandling/RecordLinkHandler.php (GitHub))telephone(see EXT:core/Classes/LinkHandling/TelephoneLinkHandler.php (GitHub))
Additional link handlers can be added by extensions.
See also
lang
-
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']
requireApprovedLocalizations
-
- Type
- bool
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['requireApprovedLocalizations']
- Default
- true
The attribute
approvedof the XLIFF standard is respected by TYPO3 since version 12.0 when parsing XLF files. This attribute can either have the valueyesornoand indicates whether the translation is final or not.EXT:my_extension/Resources/Private/Language/locallang.xml<trans-unit id="label2" approved="yes"> <source>This is label #2</source> <target>Ceci est le libellé no. 2</target> </trans-unit>Copied!This setting can be used to control the behavior:
true- Only translations with the attribute
approvedset toyeswill be used. Any non-approved translation (value is set tono) will be ignored. If the attributeapprovedis omitted, the translation is still taken into account. false- All translations are used.
messenger
-
routing
-
- Type
- array
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['messenger']['routing']
The configuration of the routing for the messenger component. By default, TYPO3 uses synchronous transport (
default) for all messages (*):$GLOBALS['TYPO3_CONF_VARS']['SYS']['messenger']['routing'] = [ '*' => 'default', ];Copied!You can set transport types for specific messages, for example:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['messenger']['routing'][\MyVendor\MyExtension\Queue\Message\DemoMessage::class] = 'doctrine';Copied!
FileInfo
-
fileExtensionToMimeType
-
- Type
- array
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['fileExtensionToMimeType']
Changed in version 13.4.13 / 12.4.32
File extension-based MIME type mapping is now superseded by the more fine-grained MIME type compatibility list $GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['mimeTypeCompatibility'].
$GLOBALSis supported for backward compatibility reasons.['TYPO3_ CONF_ VARS'] ['SYS'] ['File Info'] ['file Extension To Mime Type']
mimeTypeCompatibility
-
- Type
- array
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['mimeTypeCompatibility']
- Default
- see EXT:core/Configuration/DefaultConfiguration.php
New in version 13.4.13 / 12.4.32
This mapping supersedes $GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['fileExtensionToMimeType']
For each generic MIME type (as detected by PHP MIME type detection) a map from file extension to a valid MIME type can be supplied.
The Core predefines common file extensions and MIME types. Custom types can be configured.
As PHP file detection methods can not reliably detect all IANA defined MIME types, mime-db based heuristics are applied to map generic MIME types like
text/toplain text/forcsv *.files.csv One example shipped in the Core is that
*.files are detected as an image/jpeg and mapped to image/pjpeg, which is the defined MIME type per IANA and enforced by the FAL persistence layer.jfif Example from the TYPO3 Core$GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['mimeTypeCompatibility']['image/jpeg']['jfif'] = 'image/pjpeg';Copied!Below is a generic example which allows a file ending in
*., that is detected to contain text/plain contents, to be mapped to the MIME type text/x-foo. Other contents (e.g. if the file contains binary data) will not be mappedfoo config/system/additional.php$GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['mimeTypeCompatibility']['text/plain']['foo'] = 'text/x-foo';Copied!
allowedPhpDisableFunctions
-
- Type
- array
- Path
- $GLOBALS['TYPO3_CONF_VARS']['SYS']['allowedPhpDisableFunctions']
- Default
[]
New in version 13.2
A configuration option to modify the environment check in Admin Tools to incorporate a list of sanctioned
disable_.functions Using this configuration option a system maintainer can add native PHP function names to the list, which are then reported as environment warnings instead of errors.
config/system/additional.php$GLOBALS['TYPO3_CONF_VARS']['SYS']['allowedPhpDisableFunctions'] = ['set_time_limit', 'set_file_buffer'];Copied!You can also define this manually in your
settings.phpfile or via Admin Tools > Settings > Configure options.