Project

General

Profile

Actions

Bug #36380

closed

t3lib_div::getUrl() with local file throws a warning while file does not exists

Added by rengaw83 almost 12 years ago. Updated over 11 years ago.

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

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When using t3lib_div::getUrl() to get content of a file on the filesystem which does not exists, a php warning is issued.

excample calls:
t3lib_div::getUrl(t3lib_extMgm::extPath('myqxt').'ext_tables.sql');
t3lib_div::getUrl(t3lib_extMgm::extPath('myqxt').'templates\list.html');

This error occurs since verion 4.5.15 by fixing issue 35847.
In previous versions t3lib_div::getUrl() returns false, if the file does not exists.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #35847: t3lib_div::getUrl() providing wrong error informationClosedIngo Renner2012-04-11

Actions
Related to TYPO3 Core - Bug #36976: PHP warning when a language pack does not existClosedXavier Perseguers2012-05-09

Actions
Actions

Also available in: Atom PDF