From: Alexander Stehlik Date: Fri, 25 Oct 2013 14:37:38 +0000 (+0200) Subject: [TASK] Add xlf to [SYS][textfile_ext] X-Git-Tag: TYPO3_6-2-0beta2~131 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/6aa2e7fa50484f480dac9635356ecbef08801527?hp=ed5e07525ea7a8ac6afa72a1ce142bc306e74a7e [TASK] Add xlf to [SYS][textfile_ext] Add the xlf file extension to the list of textfile extensions in the default configuration. Resolves: #53136 Releases: 6.2 Change-Id: I2ea509c8a027bb21d77a59313cce4dfa9495c280 Reviewed-on: https://review.typo3.org/25008 Reviewed-by: Philipp Gampe Reviewed-by: Georg Ringer Tested-by: Georg Ringer --- diff --git a/typo3/sysext/core/Configuration/DefaultConfiguration.php b/typo3/sysext/core/Configuration/DefaultConfiguration.php index de6293d9a913..7dceb86b7607 100644 --- a/typo3/sysext/core/Configuration/DefaultConfiguration.php +++ b/typo3/sysext/core/Configuration/DefaultConfiguration.php @@ -102,7 +102,7 @@ return array( */ 'curlTimeout' => 0, // Integer: Timeout value for cURL requests in seconds. 0 means to wait indefinitely. Deprecated since 4.6 - will be removed in 6.2. See below for http options. 'form_enctype' => 'multipart/form-data',// String: This is the default form encoding type for most forms in TYPO3. It allows for file uploads to be in the form. However if file-upload is disabled for your PHP version even ordinary data sent with this encryption will not get to the server. So if you have file_upload disabled, you will have to change this to eg. 'application/x-www-form-urlencoded' - 'textfile_ext' => 'txt,html,htm,css,tmpl,js,sql,xml,csv', // Text file extensions. Those that can be edited. Executable PHP files may not be editable in webspace if disallowed! + 'textfile_ext' => 'txt,html,htm,css,tmpl,js,sql,xml,csv,xlf', // Text file extensions. Those that can be edited. Executable PHP files may not be editable in webspace if disallowed! 'contentTable' => '', // This is the page-content table (Normally 'tt_content') 'binPath' => '', // String: List of absolute paths where external programs should be searched for. Eg. /usr/local/webbin/,/home/xyz/bin/. (ImageMagick path have to be configured separately) 'binSetup' => '', // String (textarea): List of programs (separated by newline or comma). By default programs will be searched in default paths and the special paths defined by 'binPath'. When PHP has openbasedir enabled the programs can not be found and have to be configured here. Example: perl=/usr/bin/perl,unzip=/usr/local/bin/unzip