[TYPO3-dev] GLOBALS[TSFE] is not available
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu Feb 8 10:40:42 CET 2007
Karol Dabrowski schrieb:
> R. Moorman wrote:
>
>>What kind of script are you trying to code then? And when is it supposed
>>to be called?
>
> I'm coding inside typo3/alt_doc.php file (I need a reaction for saving content - to know who is editing). When I'm writing $GLOBALS['TSFE']->fe_user->user['username'] inside of it - script didn't see this variable.
So you are writing a BE module and want to check for the BE user
$GLOBALS['BE_USER']. $TSFE is only set for the FE.
Masi
More information about the TYPO3-dev
mailing list