[BUGFIX] Get folder object if a path is given 75/19675/3
authorIvan Kartolo <ivan.kartolo@dkd.de>
Tue, 5 Mar 2013 04:50:07 +0000 (11:50 +0700)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 6 Apr 2013 14:19:23 +0000 (16:19 +0200)
commitc46f2a99b1d3bb8579ea7754e3525e5226394357
treeb8b7b7321b205f24d4c98e60ddca0463866b2713
parent1433fafdafba83ffcd37443cbb88306327039cc9
[BUGFIX] Get folder object if a path is given

Get folder instead file object if a path is given to FAL.

Change-Id: I6d183d319eacbab403079b126685a13eb3ae7d5c
Resolves: #45748
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19675
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Resource/ResourceFactory.php
typo3/sysext/core/Tests/Unit/Resource/FactoryTest.php