mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 21:47:32 -05: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->isLazy();
 | 
			
		||||
        $client->getEngine()->setPath($path);
 | 
			
		||||
 | 
			
		||||
        $request = $client->getMessageFactory()->createRequest($url, $method);
 | 
			
		||||
        $request->setTimeout(5000);
 | 
			
		||||
        $response = $client->getMessageFactory()->createResponse();
 | 
			
		||||
 | 
			
		||||
        // Send the request
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user