Feature #20480

Integrate t3lib_div::requireFile() for simple require() calls

Added by Oliver Hader over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-05-20
Due date:
% Done:

0%

PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

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.

(issue imported from #M11153)

0011153.patch View (938 Bytes) Administrator Admin, 2009-05-20 12:04

History

#1 Updated by Oliver Hader over 10 years ago

Committed to SVN Trunk (rev. 5454)

Also available in: Atom PDF