Actions
Bug #36380
closedt3lib_div::getUrl() with local file throws a warning while file does not exists
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.
Actions