mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 12:54:31 -04:00
Fix PDF attachment with local PhantomJS
This commit is contained in:
parent
8458d5cb98
commit
a7bc5bcef7
@ -50,9 +50,11 @@ class CurlUtils
|
|||||||
}
|
}
|
||||||
|
|
||||||
$client = Client::getInstance();
|
$client = Client::getInstance();
|
||||||
|
$client->isLazy();
|
||||||
$client->getEngine()->setPath($path);
|
$client->getEngine()->setPath($path);
|
||||||
|
|
||||||
$request = $client->getMessageFactory()->createRequest($url, $method);
|
$request = $client->getMessageFactory()->createRequest($url, $method);
|
||||||
|
$request->setTimeout(5000);
|
||||||
$response = $client->getMessageFactory()->createResponse();
|
$response = $client->getMessageFactory()->createResponse();
|
||||||
|
|
||||||
// Send the request
|
// Send the request
|
||||||
|
Loading…
x
Reference in New Issue
Block a user