mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix PDF attachment with local PhantomJS
This commit is contained in:
parent
6e83579c14
commit
d72c199d0b
@ -50,9 +50,11 @@ class CurlUtils
|
||||
}
|
||||
|
||||
$client = Client::getInstance();
|
||||
$client->isLazy();
|
||||
$client->getEngine()->setPath($path);
|
||||
|
||||
$request = $client->getMessageFactory()->createRequest($url, $method);
|
||||
$request->setTimeout(5000);
|
||||
$response = $client->getMessageFactory()->createResponse();
|
||||
|
||||
// Send the request
|
||||
|
Loading…
Reference in New Issue
Block a user