From: Oliver Hader Date: Sat, 24 Nov 2007 21:49:29 +0000 (+0000) Subject: Fixed bug #6817: Files with extension xml are ignored as resource of a template X-Git-Tag: TYPO3_4-2-0alpha3~119 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/1de6fbcec58e99c9a8377651c4c9ce67567d6791 Fixed bug #6817: Files with extension xml are ignored as resource of a template git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2763 709f56b5-9817-0410-a4d7-c38de5d9e867 --- diff --git a/ChangeLog b/ChangeLog index 24d7481f8961..aa223dd8f85d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-11-24 Oliver Hader + + * Fixed bug #6817: Files with extension xml are ignored as resource of a template + 2007-11-24 Benjamin Mack * Fix #6822: css_styled_content default EXTCONF was not loaded since it was installed by default diff --git a/typo3/sysext/cms/tbl_cms.php b/typo3/sysext/cms/tbl_cms.php index 6538d3cca640..ffd12d0e6693 100755 --- a/typo3/sysext/cms/tbl_cms.php +++ b/typo3/sysext/cms/tbl_cms.php @@ -698,7 +698,7 @@ $TCA['sys_template'] = Array ( 'config' => Array ( 'type' => 'group', 'internal_type' => 'file', - 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,pfb,pfm,txt,css,tmpl,inc,ico,js', + 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,pfb,pfm,txt,css,tmpl,inc,ico,js,xml', 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'], 'uploadfolder' => 'uploads/tf', 'show_thumbs' => '1',