Project

General

Profile

Actions

Feature #20480

closed

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

Added by Oliver Hader almost 15 years ago. Updated over 13 years ago.

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

0%

Estimated time:
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)


Files

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

Also available in: Atom PDF