diff --git a/source/assets/images/file_structure_tenancy.png b/source/assets/images/file_structure_tenancy.png new file mode 100644 index 0000000..df0f38d Binary files /dev/null and b/source/assets/images/file_structure_tenancy.png differ diff --git a/source/docs/v1/filesystem-tenancy.blade.md b/source/docs/v1/filesystem-tenancy.blade.md index 499c8dc..dd06d4b 100644 --- a/source/docs/v1/filesystem-tenancy.blade.md +++ b/source/docs/v1/filesystem-tenancy.blade.md @@ -19,7 +19,7 @@ That's what the `root_override` section is for. `%storage_path%` gets replaced b Since `storage_path()` will be suffixed, your folder structure will look like this: -![The folder structure](https://i.imgur.com/GAXQOnN.png) +![The folder structure](/assets/images/file_structure_tenancy.png) If you write to these directories, you will need to create them after you create the tenant. See the docs for [PHP's mkdir](http://php.net/function.mkdir). @@ -49,4 +49,4 @@ Storage::disk('public')->put($filename, $data); Storage::disk('local')->put("public/$filename", $data); ``` -If you want to store something globally, simply create a new disk and *don't* add it to the `tenancy.filesystem.disks` config. \ No newline at end of file +If you want to store something globally, simply create a new disk and *don't* add it to the `tenancy.filesystem.disks` config. diff --git a/source/docs/v2/filesystem-tenancy.blade.md b/source/docs/v2/filesystem-tenancy.blade.md index 59721fa..becbd3d 100644 --- a/source/docs/v2/filesystem-tenancy.blade.md +++ b/source/docs/v2/filesystem-tenancy.blade.md @@ -28,7 +28,7 @@ That's what the `root_override` section is for. `%storage_path%` gets replaced b Since `storage_path()` will be suffixed, your folder structure will look like this: -![The folder structure](https://i.imgur.com/GAXQOnN.png) +![The folder structure](/assets/images/file_structure_tenancy.png) If you write to these directories, you will need to create them after you create the tenant. See the docs for [PHP's mkdir](http://php.net/function.mkdir). diff --git a/source/docs/v3/tenancy-bootstrappers.blade.md b/source/docs/v3/tenancy-bootstrappers.blade.md index cc6882c..c50052b 100644 --- a/source/docs/v3/tenancy-bootstrappers.blade.md +++ b/source/docs/v3/tenancy-bootstrappers.blade.md @@ -42,7 +42,7 @@ The bootstrapper suffixes the path retrieved by `storage_path()` to make the hel Since `storage_path()` will be suffixed, your folder structure will look like this: -![The folder structure](https://i.imgur.com/GAXQOnN.png) +![The folder structure](/assets/images/file_structure_tenancy.png) Logs will be saved in `storage/logs` regardless of any changes to `storage_path()` and regardless of the tenant.