Index: branches/5.2.x/core/ckeditor/ckfinder/core/connector/php/php5/CommandHandler/DownloadFile.php =================================================================== diff -u -N -r15316 -r16404 --- branches/5.2.x/core/ckeditor/ckfinder/core/connector/php/php5/CommandHandler/DownloadFile.php (.../DownloadFile.php) (revision 15316) +++ branches/5.2.x/core/ckeditor/ckfinder/core/connector/php/php5/CommandHandler/DownloadFile.php (.../DownloadFile.php) (revision 16404) @@ -2,8 +2,8 @@ /* * CKFinder * ======== - * http://ckfinder.com - * Copyright (C) 2007-2012, CKSource - Frederico Knabben. All rights reserved. + * http://cksource.com/ckfinder + * Copyright (C) 2007-2013, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, @@ -88,7 +88,7 @@ header("Content-Disposition: attachment; filename=\"" . $encodedName. "\""); } header("Content-Length: " . filesize($filePath)); - CKFinder_Connector_Utils_FileSystem::readfileChunked($filePath); + CKFinder_Connector_Utils_FileSystem::sendFile($filePath); exit; } }