diff --git a/app/Jobs/Entity/CreateEntityPdf.php b/app/Jobs/Entity/CreateEntityPdf.php index d536fd17b7ff..8cbd3b39a36b 100644 --- a/app/Jobs/Entity/CreateEntityPdf.php +++ b/app/Jobs/Entity/CreateEntityPdf.php @@ -146,7 +146,7 @@ class CreateEntityPdf implements ShouldQueue ->build(); //todo - move this to the client creation stage so we don't keep hitting this unnecessarily - info("make dir => {$path}"); + //info("make dir => {$path}"); //Storage::makeDirectory($path, 0775); $pdf = null; diff --git a/app/Jobs/Util/UploadAvatar.php b/app/Jobs/Util/UploadAvatar.php index 66508bc706d5..ff8700c016f2 100644 --- a/app/Jobs/Util/UploadAvatar.php +++ b/app/Jobs/Util/UploadAvatar.php @@ -37,9 +37,9 @@ class UploadAvatar implements ShouldQueue { //make dir - info("avatar dir creation => ". $this->directory); + // info("avatar dir creation => ". $this->directory); - Storage::makeDirectory($this->directory, 0775); + // Storage::makeDirectory($this->directory, 0775); $tmp_file = sha1(time()).'.png'; diff --git a/app/Services/Invoice/GenerateDeliveryNote.php b/app/Services/Invoice/GenerateDeliveryNote.php index 74170974a596..3661d1a56b70 100644 --- a/app/Services/Invoice/GenerateDeliveryNote.php +++ b/app/Services/Invoice/GenerateDeliveryNote.php @@ -84,7 +84,7 @@ class GenerateDeliveryNote ->design($template) ->build(); - Storage::makeDirectory($this->invoice->client->invoice_filepath(), 0775); + // Storage::makeDirectory($this->invoice->client->invoice_filepath(), 0775); $pdf = $this->makePdf(null, null, $maker->getCompiledHTML()); diff --git a/app/Utils/PhantomJS/Phantom.php b/app/Utils/PhantomJS/Phantom.php index e6bbfca1fc07..209ff8342730 100644 --- a/app/Utils/PhantomJS/Phantom.php +++ b/app/Utils/PhantomJS/Phantom.php @@ -77,7 +77,7 @@ class Phantom $phantom_url = "https://phantomjscloud.com/api/browser/v2/{$key}/?request=%7Burl:%22{$url}%22,renderType:%22pdf%22%7D"; $pdf = CurlUtils::get($phantom_url); - Storage::makeDirectory($path, 0775); + // Storage::makeDirectory($path, 0775); $instance = Storage::disk(config('filesystems.default'))->put($file_path, $pdf);