mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 01:17:30 -05:00 
			
		
		
		
	
						commit
						80b292296f
					
				@ -202,10 +202,16 @@ class CreateEntityPdf implements ShouldQueue
 | 
			
		||||
                if(!Storage::disk($this->disk)->exists($path))
 | 
			
		||||
                    Storage::disk($this->disk)->makeDirectory($path, 0775);
 | 
			
		||||
 | 
			
		||||
                nlog($file_path);
 | 
			
		||||
                // nlog($file_path);
 | 
			
		||||
                
 | 
			
		||||
                Storage::disk($this->disk)->put($file_path, $pdf);
 | 
			
		||||
                
 | 
			
		||||
                $path = Storage::disk($this->disk)->put($file_path);
 | 
			
		||||
                $url = Storage::disk($this->disk)->url($file_path);
 | 
			
		||||
 | 
			
		||||
                info($path);
 | 
			
		||||
                info($url);
 | 
			
		||||
 | 
			
		||||
            }
 | 
			
		||||
            catch(\Exception $e)
 | 
			
		||||
            {
 | 
			
		||||
 | 
			
		||||
@ -102,6 +102,7 @@ return [
 | 
			
		||||
 | 
			
		||||
        'invoiceninja' => [
 | 
			
		||||
            'driver' => 'single',
 | 
			
		||||
            'level' => 'debug',
 | 
			
		||||
            'path' => storage_path('logs/invoiceninja.log'),
 | 
			
		||||
        ],
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user