mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for directory creation error
This commit is contained in:
parent
20d313de71
commit
41e39fa9c4
@ -146,7 +146,8 @@ class CreateEntityPdf implements ShouldQueue
|
||||
->build();
|
||||
|
||||
//todo - move this to the client creation stage so we don't keep hitting this unnecessarily
|
||||
// Storage::makeDirectory($path, 0775);
|
||||
info("make dir => {$path}");
|
||||
//Storage::makeDirectory($path, 0775);
|
||||
|
||||
$pdf = null;
|
||||
|
||||
|
@ -37,6 +37,8 @@ class UploadAvatar implements ShouldQueue
|
||||
{
|
||||
|
||||
//make dir
|
||||
info("avatar dir creation => ". $this->directory);
|
||||
|
||||
Storage::makeDirectory($this->directory, 0775);
|
||||
|
||||
$tmp_file = sha1(time()).'.png';
|
||||
|
@ -60,7 +60,8 @@ return [
|
||||
|
||||
'public' => [
|
||||
'driver' => 'local',
|
||||
'root' => 'storage/',
|
||||
'root' => public_path('storage'),
|
||||
//'root' => 'storage/',
|
||||
// 'root' => storage_path('app/public'),
|
||||
'url' => env('APP_URL').'/storage',
|
||||
'visibility' => 'public',
|
||||
|
Loading…
x
Reference in New Issue
Block a user