joomla/joomla-cms — pull request #1209 by jms2win (2013-06-01 21:23:36+00:00)
Title: Bugtracker #28333: JFTP call "DL" function that sometimes is removed by ...

...hosting environment and cause fatal error without message

The reason of the issue is due to the fact that the "dl" function is called event when FTP layer is not used.
As soon as a jimport load the FTP client somewhere it cause a fatal error that is hide due to the "@dl" that does not report error.

The fix consists in checking that function "dl" exists before calling it.

To reproduce it, you need to setup a server that does not contain the FTP module and that does not include the "dl" function.
Becarefull that most WAMP or similar include the FTP and dl in the core that can not be removed.