#36380t3lib_div::getUrl() with local file throws a warning while file does not exists
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.