mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Include the file structure tenancy image in the repo
This commit is contained in:
parent
508cbeb168
commit
34bb54c67e
4 changed files with 4 additions and 4 deletions
BIN
source/assets/images/file_structure_tenancy.png
Normal file
BIN
source/assets/images/file_structure_tenancy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
|
|
@ -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:
|
||||
|
||||

|
||||

|
||||
|
||||
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.
|
||||
If you want to store something globally, simply create a new disk and *don't* add it to the `tenancy.filesystem.disks` config.
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||

|
||||

|
||||
|
||||
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).
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||

|
||||

|
||||
|
||||
Logs will be saved in `storage/logs` regardless of any changes to `storage_path()` and regardless of the tenant.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue