[BUGFIX] Allow longer file-endings in typoscript directory includes 58/54458/2
authorMathias Schreiber <mathias.schreiber@typo3.org>
Wed, 18 Oct 2017 23:13:52 +0000 (01:13 +0200)
committerBenjamin Kott <benjamin.kott@outlook.com>
Fri, 20 Oct 2017 12:56:55 +0000 (14:56 +0200)
commit9088894770c407bf77f447b375fe13985da0bd64
tree2920e0316ed16881ae70211597b220a214aee3c8
parent8b6d344278f2dd2dae41d3ff99f1862f84cf97a3
[BUGFIX] Allow longer file-endings in typoscript directory includes

Directory includes now allow more liberal substrings to include files
not only based on their extension (*.typoscript) but based on the last
part of their filename (*.setup.typoscript).

Resolves: #82543
Releases: master, 8.7
Change-Id: Ic2111b98a6e3935b542addfd712f4256aa40f888
Reviewed-on: https://review.typo3.org/54443
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benjamin Kott <benjamin.kott@outlook.com>
Tested-by: Benjamin Kott <benjamin.kott@outlook.com>
(cherry picked from commit 9ddb3cb19a7ea4b5c3ab2b411c0f936fcf777842)
Reviewed-on: https://review.typo3.org/54458
typo3/sysext/core/Classes/Utility/GeneralUtility.php