[TYPO3-dev] class.tx_impexp.php sets 256m memory_limit without checking php.ini

Martin Kutschker martin.kutschker-no at spam-blackbox.net
Tue Jun 10 11:52:45 CEST 2008


Sebastiaan Wiersema schrieb:
> Hi,
> 
> Yesterday I reported the following bug in class.tx_impexp.php:
> http://bugs.typo3.org/view.php?id=8649
> 
> On request of Benjamin Mack I'm sending the patch to this list.
> 
> Cheers,
> Sebastiaan
> 
> --
> 
> There is no check in class.tx_impexp.php to see if it is necessary to
> alter the memory_limit setting. Even when the value is altered in
> php.ini to a higher value (say, 512MB) this is set back to 256MB.

Yes, that's dull.


> The following patch should do the trick:

Will fail if the limit doesn't use the 'm' for megabytes.

Masi




More information about the TYPO3-dev mailing list