[TYPO3-core] RFC: #3819: t3lib_div::getIndpEnv('TYPO3_DOCUMENT_ROOT') delivers wrong value in Backend
Steffen Kamper
info at sk-typo3.de
Sun Aug 8 18:00:06 CEST 2010
Hi,
after discussing this with Susanne, the original purpose of this var is
to give the web root, not the TYPO3 root. The problem of the bug report
is only wrong usage, same is done in core.
So i added a comment at TYPO3_DOCUMENT_ROOT:
// Get the web root (it is not the root of the TYPO3 installation)
// The absolute path of the script can be calculated with
TYPO3_DOCUMENT_ROOT + SCRIPT_FILENAME
and fixed the places in core where it's wrong used, see attached v2
vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3819_v2.diff
Type: text/x-patch
Size: 2924 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100808/ede5762e/attachment.bin>
More information about the TYPO3-team-core
mailing list