mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-11 10:04:05 -04:00
fixes for file upload
This commit is contained in:
parent
dc0f47cd9e
commit
6263e839d8
@ -52,7 +52,7 @@ Class Attachment extends InboundTicketFactory{
|
|||||||
$directory = sys_get_temp_dir();
|
$directory = sys_get_temp_dir();
|
||||||
file_put_contents($directory . '/' . $this->Name, $this->_read());
|
file_put_contents($directory . '/' . $this->Name, $this->_read());
|
||||||
|
|
||||||
return File::get($directory.$this->Name);
|
return File::get($directory.'/'.$this->Name);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user