[TYPO3-dev] Problems with TYPO3_mainDir constant.

Stig Nørgaard Færch snf at dkm.dk
Fri Jul 16 15:30:12 CEST 2010


Den 16-07-2010 11:46, Stig Nørgaard Færch skrev:
> Den 16-07-2010 11:35, Stig Nørgaard Færch skrev:
>>> no, that should become 'typo3/sysext' (in a typical setup, unless you
>>> renamed the typo3 directory). Normally it is set in init.php (and
>>> thumbs.php).
>>
>> Of course, you are right.
>>
>>
>>> So my guess, something bypasses the loading of init.php. That should not
>>> happen.
>
> On line 380 of backend.php it says:
> 'TYPO3_mainDir' => TYPO3_mainDir,
> I'll try to exchange it with:
> 'TYPO3_mainDir' => 'typo3/',
> and see what will happen.
>
> Not that it will be the solution, but maybe it will lead to the source
> of the problem?

Since the channge, I haven't had the problem. Any ideas why 
TYPO3_mainDir (what seems randomly) isn't set in backend.php?

/Stig




More information about the TYPO3-dev mailing list