Project

General

Profile

Actions

Bug #46161

closed

Empty extTables script wrongly detected

Added by Francois Suter about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
Start date:
2013-03-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

In #45122 a check was added to avoid detecting the "TYPO3_extTableDef_script" script when it does not exist. The test uses file_exists(). This will fail if "TYPO3_extTableDef_script" is defined but empty, as file_exists() will then correctly match "typo3conf/" and try to include it, resulting in a PHP warning.

The test must be complemented by a is_file() check.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45122: Addition extTables script might not existsClosedPhilipp Gampe2013-02-03

Actions
Actions

Also available in: Atom PDF