Gitlab CSE Unil
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
M. Chardon
moodle-assignfeedback_editpdfplus
Commits
8256f616
Commit
8256f616
authored
May 26, 2017
by
M. Chardon
Browse files
correction bug chargement pdf
parent
5b14f4fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
classes/document_services.php
View file @
8256f616
...
...
@@ -267,7 +267,7 @@ EOD;
}
$contextid
=
$assignment
->
get_context
()
->
id
;
$component
=
'assignfeedback_editpdf'
;
$component
=
'assignfeedback_editpdf
plus
'
;
$filearea
=
self
::
COMBINED_PDF_FILEAREA
;
$itemid
=
$grade
->
id
;
$filepath
=
'/'
;
...
...
classes/pdf.php
View file @
8256f616
...
...
@@ -609,7 +609,7 @@ class pdf extends \FPDI {
global
$CFG
;
//$temparea = make_temp_directory('assignfeedback_editpdfplus');
$temparea
=
make_
temp
_directory
();
$temparea
=
make_
request
_directory
();
//$hash = $file->get_contenthash(); // Use the contenthash to make sure the temp files have unique names.
//$tempsrc = $temparea . "/src-$hash.pdf";
//$tempdst = $temparea . "/dst-$hash.pdf";
...
...
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