[TYPO3-mvc] Ajax request from backend and TYPO3_MODE
Jan Kornblum
jan.kornblum at gmx.de
Fri Nov 15 11:24:44 CET 2013
Hello newsgroup,
i call a extbase controller action from both a backend module as well
as from a frontend plugin. Inside the controller action i have to
switch dependant on the TYPO3_MODE. But the TYPO3_MODE always seems to
be "FE", even when the request was started from the backend. Perhaps
because the request is done as ajax?
So how should i detect the proper TYPO3_MODE in this case?
Kind regardas, Jan
More information about the TYPO3-project-typo3v4mvc
mailing list