[TYPO3-core] FYI: Added feature #11153: Integrate t3lib_div::requireFile() for simple require() calls
Oliver Hader
oliver at typo3.org
Wed May 20 12:09:29 CEST 2009
The following changes were committed to SVN Trunk (rev. 5454)
Type: Feature
Bugtracker references:
http://bugs.typo3.org/view.php?id=11153
Branch: Trunk
Problem:
In t3lib_div there's already a mehtod requireOnce() however the pendant
for require() is missing. On using requireOnce() PHP excutes several
checks whether a file was already loaded. In context of the autoloader
it can be ensured that a file implementing a class was not integrated
before.
Solution:
Integrate t3lib_div::requireFile() that defines several TYPO3 arrays as
global (e.g. $TYPO3_CONF_VARS) and wraps the require() call.
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0011153.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090520/00667d1d/attachment.txt
More information about the TYPO3-team-core
mailing list