fixes for file upload

This commit is contained in:
David Bomba 2019-07-14 12:20:42 +10:00
parent dc0f47cd9e
commit 6263e839d8

View File

@ -52,7 +52,7 @@ Class Attachment extends InboundTicketFactory{
$directory = sys_get_temp_dir();
file_put_contents($directory . '/' . $this->Name, $this->_read());
return File::get($directory.$this->Name);
return File::get($directory.'/'.$this->Name);
}