opencart/opencart — pull request #197 by antoniom (2012-10-18 10:36:38+00:00)
Title: Update upload/catalog/controller/account/download.php

readfile has problems with large files.
I tested it on a 300+ MB file download and failed.

I propose this change as read on http://stackoverflow.com/questions/9458553/php-readfile-doesnt-work-but-only-for-20-meg-files