[TYPO3-dev] BACK_PATH

Dmitry Dulepov dmitry at typo3.org
Fri Oct 17 14:42:28 CEST 2008


Hi!

Stefan Geith wrote:
> Couldn't Typo3 pass the $BACK_PATH to the BE-Plugins ?

It could not. When BE modules are called, they are called directly. In FE it is always /index.php but in BE it is /typo3conf/ext/myext/mod1/index.php. This file runs alone. It includes conf.php first ($BACK_PATH is set here) and only then it includes init.php, which initializes TYPO3.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/iphone_as_productivity_tool/




More information about the TYPO3-dev mailing list