mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 00:24:36 -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();
|
->build();
|
||||||
|
|
||||||
//todo - move this to the client creation stage so we don't keep hitting this unnecessarily
|
//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;
|
$pdf = null;
|
||||||
|
|
||||||
|
@ -37,6 +37,8 @@ class UploadAvatar implements ShouldQueue
|
|||||||
{
|
{
|
||||||
|
|
||||||
//make dir
|
//make dir
|
||||||
|
info("avatar dir creation => ". $this->directory);
|
||||||
|
|
||||||
Storage::makeDirectory($this->directory, 0775);
|
Storage::makeDirectory($this->directory, 0775);
|
||||||
|
|
||||||
$tmp_file = sha1(time()).'.png';
|
$tmp_file = sha1(time()).'.png';
|
||||||
|
@ -60,7 +60,8 @@ return [
|
|||||||
|
|
||||||
'public' => [
|
'public' => [
|
||||||
'driver' => 'local',
|
'driver' => 'local',
|
||||||
'root' => 'storage/',
|
'root' => public_path('storage'),
|
||||||
|
//'root' => 'storage/',
|
||||||
// 'root' => storage_path('app/public'),
|
// 'root' => storage_path('app/public'),
|
||||||
'url' => env('APP_URL').'/storage',
|
'url' => env('APP_URL').'/storage',
|
||||||
'visibility' => 'public',
|
'visibility' => 'public',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user