[TYPO3-core] RFC #11212: Turning off the admin-panel results in error

Rupert Germann rupi at gmx.li
Tue Aug 25 19:24:24 CEST 2009


hi olly

Oliver Hader schrieb:
> I was able to reproduce this with
> | TypoScript: config.admPanel = 1
> | and
> | User TSconfig: admPanel >
> 
> However, I moved the check to t3lib_tsfebeuserauth (see attached patch).

the reason for putting it directly in index_ts was to prevent the call to:
echo $BE_USER->displayAdminPanel();

with your variant displayAdminPanel() is always called and the (empty) 
result will be echoed if a BE user is logged in. no matter if the admin 
panel if enabled.

why do you moved it?

greets
rupert


More information about the TYPO3-team-core mailing list