[BUGFIX] Check if file exists for backend logo 31/56731/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 20:57:37 +0000 (22:57 +0200)
commit8146446c9e4b49c94eee224c01a450d486a21ccd
tree5f4e007babb3edf34b08d0ad7b7273f3429e8fa4
parent49e42af8854be0aaf366f281e8cb28ee2b5062cd
[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/56731
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Kay Strobach <typo3@kay-strobach.de>
Tested-by: Kay Strobach <typo3@kay-strobach.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@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