[BUGFIX] Cannot redeclare class backend_toolbaritem
authorXavier Perseguers <typo3@perseguers.ch>
Sun, 1 May 2011 13:55:30 +0000 (15:55 +0200)
committerXavier Perseguers <typo3@perseguers.ch>
Mon, 9 May 2011 05:43:27 +0000 (07:43 +0200)
Because of a PHP bug on some systems, login to TYPO3 backend
fails because the interface backend_toolbaritem is included
twice, once with a relative path and the other one with an
absolute one.

Change-Id: I91f993935155af6d50dd99498c9d19b684f99b69
Resolves: #26535
Reviewed-on: http://review.typo3.org/1820
Tested-by: Steffen Gebert
Reviewed-by: Steffen Gebert
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/backend.php

index 39049b2..4aca26d 100644 (file)
@@ -27,7 +27,7 @@
 
 require_once('init.php');
 require_once('template.php');
-require_once('interfaces/interface.backend_toolbaritem.php');
+require_once(PATH_typo3 . 'interfaces/interface.backend_toolbaritem.php');
 
 require('classes/class.typo3logo.php');
 require('classes/class.modulemenu.php');
@@ -842,4 +842,4 @@ if(is_array($GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendI
 
 $TYPO3backend->render();
 
-?>
\ No newline at end of file
+?>