Skip to content

Commit ecc940f

Browse files
committed
formatting
1 parent 1ebe276 commit ecc940f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filesystem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The `local` driver interacts with files stored locally on the server running the
4343
<a name="the-local-driver"></a>
4444
### The Local Driver
4545

46-
When using the `local` driver, all file operations are relative to the `root` directory defined in your `filesystems` configuration file. By default, this value is set to the `storage/app` directory. Therefore, the following method would write to `storage/app/example.txt`:
46+
When using the `local` driver, all file operations are relative to the `root` directory defined in your `filesystems` configuration file. By default, this value is set to the `storage/app/private` directory. Therefore, the following method would write to `storage/app/private/example.txt`:
4747

4848
use Illuminate\Support\Facades\Storage;
4949

@@ -54,7 +54,7 @@ When using the `local` driver, all file operations are relative to the `root` di
5454

5555
The `public` disk included in your application's `filesystems` configuration file is intended for files that are going to be publicly accessible. By default, the `public` disk uses the `local` driver and stores its files in `storage/app/public`.
5656

57-
To make these files accessible from the web, you should create a symbolic link from source directory `storage/app/public` to target directory `public/storage`. Utilizing this folder convention will keep your publicly accessible files in one directory that can be easily shared across deployments when using zero down-time deployment systems like [Envoyer](https://envoyer.io).
57+
If your `public` disk uses the `local` driver and you want to make these files accessible from the web, you should create a symbolic link from source directory `storage/app/public` to target directory `public/storage`:
5858

5959
To create the symbolic link, you may use the `storage:link` Artisan command:
6060

0 commit comments

Comments
 (0)