MDL-56642 dataformat: Fixed method_exits parameters
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
a1e1b45ae7
commit
b98f14632b
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user