[TYPO3-dev] BACK_PATH

Martin Kutschker masi-no at spam-typo3.org
Wed Oct 29 18:52:13 CET 2008


Dmitry Dulepov schrieb:
> Hi!
> 
> Steffen Kamper wrote:
>> as modules declares there BACK_PATH in conf.php this might lead to
>> problems using global install.
>> For sure there could be a condition determing the install type, but at
>> all such hardcoded paths are ugly anyway.
>>
>> Do you have an idea for a more sophisticated solution?
> 
> There is an alternative solution, it uses mod.php. There is no need for
> BACK_PATH there if I remember correctly. The problem is that mod.php
> does not work with the page tree.
> 
> If you are interested, check the BT under kickstarter. There is a
> feature request from Ingo about using mod.php.

BACK_PATH sucks. mod.php is better but it's only a sad little wrapper
that includes the module script. More fun would be if a module is a
class that implements a certain interface.

Masi




More information about the TYPO3-dev mailing list