From 8ee8a0a9b9ac5ad9c9530eec3e9073ee21495c39 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Thu, 26 Mar 2015 21:04:00 +0100 Subject: [PATCH] Configure filesystem disk for avatars. --- config/filesystems.php | 21 ++------------------- public/avatars/.gitkeep | 0 2 files changed, 2 insertions(+), 19 deletions(-) create mode 100644 public/avatars/.gitkeep diff --git a/config/filesystems.php b/config/filesystems.php index ad8228f..525fe79 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -43,26 +43,9 @@ return [ 'disks' => [ - 'local' => [ + 'avatars' => [ 'driver' => 'local', - 'root' => storage_path().'/app', - ], - - 's3' => [ - 'driver' => 's3', - 'key' => 'your-key', - 'secret' => 'your-secret', - 'region' => 'your-region', - 'bucket' => 'your-bucket', - ], - - 'rackspace' => [ - 'driver' => 'rackspace', - 'username' => 'your-username', - 'key' => 'your-key', - 'container' => 'your-container', - 'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/', - 'region' => 'IAD', + 'root' => public_path('avatars') ], ], diff --git a/public/avatars/.gitkeep b/public/avatars/.gitkeep new file mode 100644 index 0000000..e69de29