clear output buffer before calling readfile()

This commit is contained in:
Uwe Steinmann 2014-01-10 08:19:48 +01:00
parent 8c12e7c27e
commit 558a0f25ed

View File

@ -83,6 +83,7 @@ if(isset($_GET["version"])) {
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
ob_clean();
readfile($dms->contentDir . $file->getPath());
}