mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:37:33 -05:00 
			
		
		
		
	Merge pull request #6755 from YannikFirre/patch-1
FIXED - Phantomjs Key
This commit is contained in:
		
						commit
						63d0e840b4
					
				@ -278,7 +278,7 @@ class SetupController extends Controller
 | 
				
			|||||||
    private function testPhantom()
 | 
					    private function testPhantom()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
            $key = config('ninja.phantomjs_pdf_generation');
 | 
					            $key = config('ninja.phantomjs_key');
 | 
				
			||||||
            $url = 'https://www.invoiceninja.org/';
 | 
					            $url = 'https://www.invoiceninja.org/';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $phantom_url = "https://phantomjscloud.com/api/browser/v2/{$key}/?request=%7Burl:%22{$url}%22,renderType:%22pdf%22%7D";
 | 
					            $phantom_url = "https://phantomjscloud.com/api/browser/v2/{$key}/?request=%7Burl:%22{$url}%22,renderType:%22pdf%22%7D";
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user