Always return fileId for tracking tmp files
parent
03271418f0
commit
bdec1319ed
|
@ -316,6 +316,8 @@ class H5PDefaultStorage implements \H5PFileStorage {
|
||||||
else {
|
else {
|
||||||
copy($_FILES['file']['tmp_name'], $path);
|
copy($_FILES['file']['tmp_name'], $path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue