[BUGFIX] ClassLoader also needs to check for interfaces 09/33309/2
authorMarkus Klein <klein.t3@reelworx.at>
Tue, 14 Oct 2014 14:13:20 +0000 (16:13 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 23 Oct 2014 19:57:45 +0000 (21:57 +0200)
commit707a069b8c8c7e6560d9527ab84a2a43fb01fac0
treef440a152de1ef9d408c2710943dc2f9812119da0
parentebddb548f589ca123df66827d940c0c379f57702
[BUGFIX] ClassLoader also needs to check for interfaces

An interface might already be defined, check for existence before trying
to require it, which will cause PHP errors if the interface comes from a
different file path.

Resolves: #62212
Releases: master, 6.2
Change-Id: I9cf43402bbcbbb5e27dbebb4ea48a2e1b483f360
Reviewed-on: http://review.typo3.org/33309
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Core/ClassLoader.php