[TYPO3] allow php files

Daniel Selinger tco at saschlong.de
Mon Oct 2 19:04:23 CEST 2006


Hi,

I had the same problem...
Add this to your localconf.php and it should work:

// Allow php scripts to be uploaded and integrated in the backend
$TYPO3_CONF_VARS['BE']['fileExtensions']['webspace']['allow'] = 'php';
$TYPO3_CONF_VARS['BE']['fileExtensions']['webspace']['deny'] = '';
$TYPO3_CONF_VARS['BE']['fileDenyPattern'] = '';

Greetz
Ling


2006/10/2, Jamie Lawrence Jenner < Jamie at domainsolutions.co.uk>:
>
> Hi there
>
> fileDenyPattern
>
> I am trying to upload a php file to use as a php include, but typo3 wont
> let
> me :-(. I have removed the reg ex in the config setting above, cleared
> cache
> etc, and it still wont let me. Once i have uploaded and installed the php
> file, i would ten like to turn back on the disallow function
>
> Any ideas?
>
> Many thanks
>
> jamie
>
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.407 / Virus Database: 268.12.11/460 - Release Date:
> 01/10/2006
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list