mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
clear output buffer before calling readfile()
This commit is contained in:
parent
8c12e7c27e
commit
558a0f25ed
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user