Exemplo n.º 1
0
/**
 * Copy a file, or a folder and its contents from a website to your host
 *
 * @author	Sina Asghari <*****@*****.**>
 * @author	nensa at zeec dot biz
 * @param	string	$src	The source
 * @param	string  $dest	  The destination
 * @return   bool	Returns stream_copy_to_stream($src, $dest) on success, false on failure
 * @deprecated	Use icms_core_Filesystem::copyStream
 * @todo		Remove in version 1.4 - all instances have been removed from the core
 */
function icms_stream_copy($src, $dest)
{
    icms_core_Debug::setDeprecated('icms_core_Filesystem::copyStream', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
    return icms_core_Filesystem::copyStream($src, $dest);
}