Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
25c9a39e
Commit
25c9a39e
authored
Oct 29, 2018
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/report/Download.php
View file @
25c9a39e
...
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment