[BUGFIX] Check if file exists for backend logo 48/56748/2
authorLidia Demin <typecat@gmx.net>
Thu, 19 Apr 2018 08:33:08 +0000 (10:33 +0200)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 19 Apr 2018 21:21:22 +0000 (23:21 +0200)
commitea3d1294fd755a55b120e4a6be34209d470cc61c
tree59666fac50119339c4bad8de8ca90ab1a825bbf3
parentca5824810de4ca693ec05887fb0540a7317248c8
[BUGFIX] Check if file exists for backend logo

If an invalid file path is given, an exception is thrown if trying to
access its properties and the backend is not accessible any more.
Check if file exists before accessing. If not use default.

Resolves #84791
Releases: master, 8.7

Change-Id: Ide4c58dd03cbad1ed06ad66f558d170cd2170482
Reviewed-on: https://review.typo3.org/56748
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/backend/Classes/Controller/BackendController.php