Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
7db7ba75
Verified
Commit
7db7ba75
authored
Feb 24, 2020
by
Cyril Vazquez
Browse files
Rewind source handler after copy to temp file for conversion
parent
33cc8eba
Pipeline
#6976
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bundle/digitalResource/Controller/digitalResource.php
View file @
7db7ba75
...
...
@@ -686,6 +686,7 @@ class digitalResource
$tgtfp
=
fopen
(
$srcfile
,
'w'
);
stream_copy_to_stream
(
$handler
,
$tgtfp
);
rewind
(
$handler
);
fclose
(
$tgtfp
);
}
...
...
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