mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
commit
af8cd6f19d
@ -86,8 +86,8 @@ class CreateEntityPdf implements ShouldQueue
|
|||||||
|
|
||||||
$this->contact = $invitation->contact;
|
$this->contact = $invitation->contact;
|
||||||
|
|
||||||
//$this->disk = Ninja::isHosted() ? config('filesystems.default') : $disk;
|
$this->disk = Ninja::isHosted() ? config('filesystems.default') : $disk;
|
||||||
$this->disk = $disk;
|
//$this->disk = $disk;
|
||||||
// $this->disk = $disk ?? config('filesystems.default');
|
// $this->disk = $disk ?? config('filesystems.default');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -209,9 +209,11 @@ class CreateEntityPdf implements ShouldQueue
|
|||||||
$path = Storage::disk($this->disk)->path($file_path);
|
$path = Storage::disk($this->disk)->path($file_path);
|
||||||
$url = Storage::disk($this->disk)->url($file_path);
|
$url = Storage::disk($this->disk)->url($file_path);
|
||||||
|
|
||||||
|
info("disk = " . $this->disk);
|
||||||
info($path);
|
info($path);
|
||||||
info($url);
|
info($url);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
catch(\Exception $e)
|
catch(\Exception $e)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user