[BUGFIX] Cannot redeclare class bigDoc: move_el.php
authorSusanne Moog <typo3@susannemoog.de>
Sun, 8 Jul 2012 18:25:52 +0000 (20:25 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 8 Jul 2012 21:42:19 +0000 (23:42 +0200)
The file move_el.php first requires init.php
and then template.php. As template.php was
already required by the autoloader during
initialization process this results in a
fatal error: Cannot redeclare...

The patch removes the require statement for
template.php

Change-Id: I096ecfb017f5ec78ac1be35d3bcd985d88b82a56
Fixes: #38763
Releases: 6.0
Reviewed-on: http://review.typo3.org/12712
Reviewed-by: Steffen Ritter
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/move_el.php

index a100162..77c922e 100644 (file)
@@ -36,7 +36,6 @@
 
 $BACK_PATH = '';
 require('init.php');
-require('template.php');
 
        // Include local language labels:
 $LANG->includeLLFile('EXT:lang/locallang_misc.xml');