[TYPO3-dev] BE module code executed in frontend...

Steffen Kamper info at sk-typo3.de
Mon Nov 24 18:08:47 CET 2008


Hi,

Christian Welzel schrieb:
> Dmitry Dulepov schrieb:
>> Hi!
>>
>> Christian Welzel wrote:
>>> So, my question: why executes the frontend code of backend modules even
>>> if these module
>>> isn't activeted? And why does this behavoir remain, if i rename the
>>> whole module directory
>>> from "mod_kz" to "foobar" (the error above changes accordingly)?
>>> Is there some magic module finding code in there?
>>
>> Delete typo3conf/temp_CACHED_* or clear TYPO3 configuration cache.
> 
> I did so several times. I renamed the mod_kz to foobar without flushing
> caches, so at least this should generate an error "mod_kz" not found,
> but the error was "no init.php in foobar not found"... i nowhere referenced
> the module "foobar" in my project, so how does the frontend knows about
> that?
> 
> 

did you applied Dmitry's autoloader?
Comment out your require_once in your project to find that one.
Also some autoloading is done through t3lib_div::makeInstance, debug there.

vg Steffen




More information about the TYPO3-dev mailing list