Skip to content
Snippets Groups Projects
Commit 36133f6e authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Drop TYPO3_MODE usage in ext:adminpanel ext_localconf.php

Code in ext_localconf.php must not create different
framework state depending on the (frontend or backend)
application type. The ApplicationType helper class does
not work at this point in bootstrap, since the PSR-7
request object has not been created, yet.

Solution is to always register the admin panel logger,
and to decide within the logger instance if an incoming
log record should be handled.

Resolves: #92952
Related: #92951
Related: #92947
Releases: master
Change-Id: If0834abff33d5ed1fa4f0e18c0f76c252db4013c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66943


Reviewed-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarDaniel Haupt <mail@danielhaupt.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarDaniel Haupt <mail@danielhaupt.de>
Tested-by: default avatarSimon Gilli <typo3@gilbertsoft.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 3291239e
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment