mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Logging for PDFs
This commit is contained in:
parent
156647a2ba
commit
97ea9db59b
@ -86,8 +86,8 @@ class CreateEntityPdf implements ShouldQueue
|
||||
|
||||
$this->contact = $invitation->contact;
|
||||
|
||||
//$this->disk = Ninja::isHosted() ? config('filesystems.default') : $disk;
|
||||
$this->disk = $disk;
|
||||
$this->disk = Ninja::isHosted() ? config('filesystems.default') : $disk;
|
||||
//$this->disk = $disk;
|
||||
// $this->disk = $disk ?? config('filesystems.default');
|
||||
}
|
||||
|
||||
@ -209,9 +209,11 @@ class CreateEntityPdf implements ShouldQueue
|
||||
$path = Storage::disk($this->disk)->path($file_path);
|
||||
$url = Storage::disk($this->disk)->url($file_path);
|
||||
|
||||
info("disk = " . $this->disk);
|
||||
info($path);
|
||||
info($url);
|
||||
|
||||
|
||||
}
|
||||
catch(\Exception $e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user