mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'wip-mdl-56642' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
383b2f9eb6
@ -49,7 +49,7 @@ abstract class spout_base extends \core\dataformat\base {
|
||||
*/
|
||||
public function send_http_headers() {
|
||||
$this->writer = \Box\Spout\Writer\WriterFactory::create($this->spouttype);
|
||||
if (method_exists('setTempFolder', $this->writer)) {
|
||||
if (method_exists($this->writer, 'setTempFolder')) {
|
||||
$this->writer->setTempFolder(make_request_directory());
|
||||
}
|
||||
$filename = $this->filename . $this->get_extension();
|
||||
|
Loading…
x
Reference in New Issue
Block a user