[TYPO3-core] RFC: Bug 4809: require() in class.t3lib_tceforms_inline.php fails

Oliver Hader oh at inpublica.de
Tue Jan 23 14:01:49 CET 2007


This is a SVN patch request.

Problem:
In class.t3lib_tceforms_inline.php there is a require_once() statement
to file that is outside the t3lib directory. On some systems, where
typo3 is not installed in the DocuementRoot, the require could fail.

Solution:
Prepend "PATH_typo3" to the file that should be required (the affected
file "json.php" is in typo3 directory).

Comments:
I couldn't reproduce this bug on my own using Debian/Linux and tested
some different ways of defining/linking to the typo3_src directory. But
the reporter of the bug stated that the patch fixes the problem on his
system.

Bugtracker reference:
http://bugs.typo3.org/view.php?id=4809

Branch:
Trunk


olly



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004809.patch
Type: text/x-diff
Size: 506 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070123/2aa00630/attachment.bin 


More information about the TYPO3-team-core mailing list