[TYPO3-core] RFC #8802: Fileadmin: extensions of new files

Steffen Gebert steffen at steffen-gebert.de
Wed Aug 19 22:33:01 CEST 2009


On Wed, 19 Aug 2009 22:11:12 +0200, David Bruchmann  
<typo3-team-core at bruchmann-web.de> wrote:

> *.inc files normally are php-files to (or pearl) but that doesn't matter  
> because I think fileadmin should read the file deny pattern from  
> localconf.php.
> A restricted rule can be used as fallback when no correspondending  
> settings are found in localconf.php.

Hi David,

this is already the case (I wondered myself, why .inc is not denied).

What this patch changes is only the output of the fileadmin module.

Before:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['textfile_ext']

Now:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['textfile_ext'] with all denied  
extensions removed from the list.

Steffen


More information about the TYPO3-team-core mailing list