Bug #16865
closedt3lib_div - PATH_typo3 problem for localizations
0%
Description
I cannot exactly explain what was going on - it's strange...
t3lib_div has some functions to load locallang-files. If such a file has never been created/cached, it's going to be newly created. And this one uses the function t3lib_div::llXmlAutoFileName(...).
But: llXmlAutoFileName has some parts with "PATH_typo3" in it, and this definition isn't set in frontend at all.
The result: e.g. the german translation of indexed_search couldn't be fetched from typo3conf/l10n/de/indexed_search because of matching errors depending on a missing "PATH_typo3" definition.
The strange thing: If have TYPO3 sites, running 4.1beta2 and 4.0.4, where this doesn't occur - possibly there are extensions setting the PATH_typo3 or whatever...
(issue imported from #M4803)
Files