1
0
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:
Hillel Coren 2017-03-08 21:45:28 +02:00
parent 6e83579c14
commit d72c199d0b

View File

@ -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