[BUGFIX] Allow overriding of Backend Routes 49/47049/2
authorBenni Mack <benni@typo3.org>
Thu, 3 Mar 2016 11:47:11 +0000 (12:47 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 4 Mar 2016 13:36:12 +0000 (14:36 +0100)
commit5c0fcacb1ee90c87d6044eec4980b274c8038177
tree4c2b7443f703f64a7f0eefd4d52501fc8c66264f
parentc370a84bb560355c1d5eaccfb03aeaca941c8a33
[BUGFIX] Allow overriding of Backend Routes

Adding backend routes from Configuration/Backend/Routes.php is
done via "+=" operator which does not allow to override routes with
the same name. This is however a wanted behaviour - allowing extensions
to override core routes.

The patch changes the "+=" operator to a simple array_merge() call
to allow to change existing routes.

Resolves: #74004
Releases: master, 7.6
Change-Id: I7caf1ab5a91f849b4789ea352c20af6239470f2f
Reviewed-on: https://review.typo3.org/47049
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/core/Classes/Core/Bootstrap.php