From 886cb1a5f1ebd36b64b9414e1ca9bdb1bcc7e3fc Mon Sep 17 00:00:00 2001
From: Georg Ringer <mail@ringerge.org>
Date: Thu, 9 Jun 2011 19:22:07 +0200
Subject: [PATCH] [BUGFIX] Remove hardcoded limits in T3D export
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The memory_limit is hardcoded to 256m and
max_execution_time to 600.

There is no reason to hardcode those settings,
sometimes a bit more of both is needed.

Change-Id: I3e690eea1a079ed6cadd548230afc405e005b115
Resolves: #27272
Resolves: #17020
Resolves: #17045
Resolves: #18926
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/2610
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Kay Strobach
Tested-by: Kay Strobach
Reviewed-by: Björn Pedersen
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
---
 typo3/sysext/impexp/class.tx_impexp.php | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/typo3/sysext/impexp/class.tx_impexp.php b/typo3/sysext/impexp/class.tx_impexp.php
index 9830f6d19583..762657152491 100755
--- a/typo3/sysext/impexp/class.tx_impexp.php
+++ b/typo3/sysext/impexp/class.tx_impexp.php
@@ -64,14 +64,6 @@
  * 	#debug(strlen($out));
  */
 
-@ini_set('max_execution_time',600);
-@ini_set('memory_limit','256m');
-
-
-
-
-
-
 
 /**
  * T3D file Import/Export library (TYPO3 Record Document)
@@ -3228,4 +3220,4 @@ class tx_impexp {
 if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/impexp/class.tx_impexp.php'])) {
 	include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/impexp/class.tx_impexp.php']);
 }
-?>
\ No newline at end of file
+?>
-- 
GitLab