Project

General

Profile

Actions

Bug #19836

closed

t3lib/config_default.php textfile_ext should be updated to include xml and other text types

Added by Michiel Roos almost 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-01-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

There is a variable textfile_ext that is used to determine if a certain file is editable as text file with the text editor.

XML is relatively new format and was never included in the list. It should be added.

There may be more text files that can be added to the list?

(issue imported from #M10157)


Files

10057.diff (7.51 KB) 10057.diff Administrator Admin, 2009-01-16 11:06
10157_v2.diff (2.25 KB) 10157_v2.diff Administrator Admin, 2009-01-16 19:28
Actions #1

Updated by Steffen Kamper almost 16 years ago

let's collect editable textfiles first

existing ones:
txt,html,htm,css,inc,tmpl,js,sql,'.PHP_EXTENSIONS_DEFAULT,
define('PHP_EXTENSIONS_DEFAULT', 'php,php3,php4,php5,php6');

my suggestion to be added:

xml,jsb,csv
define('PHP_EXTENSIONS_DEFAULT', 'php,php3,php4,php5,php6,phpsh,inc');

what's about files without any ending, like .htaccess, README etc ?

Actions #2

Updated by Steffen Kamper almost 16 years ago

committed to trunk, 4_2 and 4_1

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF