mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 12:41:30 +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("Cache-Control: no-cache, must-revalidate");
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
|
|
||||||
|
ob_clean();
|
||||||
readfile($dms->contentDir . $file->getPath());
|
readfile($dms->contentDir . $file->getPath());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user