Fixed bug #6817: Files with extension xml are ignored as resource of a template
authorOliver Hader <oliver.hader@typo3.org>
Sat, 24 Nov 2007 21:49:29 +0000 (21:49 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Sat, 24 Nov 2007 21:49:29 +0000 (21:49 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2763 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tbl_cms.php

index 24d7481..aa223dd 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-24  Oliver Hader  <oh@inpublica.de>
+
+       * Fixed bug #6817: Files with extension xml are ignored as resource of a template
+
 2007-11-24  Benjamin Mack  <mack@xnos.org>
 
        * Fix #6822: css_styled_content default EXTCONF was not loaded since it was installed by default
index 6538d3c..ffd12d0 100755 (executable)
@@ -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',