Commit 25c9a39e authored by Carsten  Rose's avatar Carsten Rose
Browse files

F7012 - Memory Limit for File download (using wrong function)

parent 61aee0ae
Pipeline #1044 passed with stage
in 1 minute and 50 seconds
......@@ -196,7 +196,7 @@ class Download {
if ($this->getOutputFormat() === DOWNLOAD_OUTPUT_FORMAT_JSON) {
print json_encode([JSON_TEXT => file_get_contents($file)]);
} else {
print file_get_contents($file);
readfile($file);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment