mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-13 02:34: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
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue