@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Afrittella\BackProject\Http\Controllers; |
4 | 4 | |
5 | -use Afrittella\BackProject\Exceptions\NotFoundException; |
|
6 | 5 | use Afrittella\BackProject\Http\Requests\AttachmentAdd; |
7 | 6 | use Afrittella\BackProject\Repositories\Attachments; |
8 | 7 | use Afrittella\BackProject\Repositories\Criteria\Attachments\ByUser; |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | //@TODO implement google or s3 cloud storage support |
16 | 16 | //if (config('filesystems.default') == 'google') { |
17 | - // $this->media_path = Storage::disk()->getDriver()->getAdapter()->getStorageApiUri() . '/' . Storage::disk()->getDriver()->getAdapter()->getBucket()->name(); |
|
17 | + // $this->media_path = Storage::disk()->getDriver()->getAdapter()->getStorageApiUri() . '/' . Storage::disk()->getDriver()->getAdapter()->getBucket()->name(); |
|
18 | 18 | //} else { |
19 | 19 | //$this->media_path = Storage::disk()->getDriver()->getAdapter()->getPathPrefix(); |
20 | 20 | //} |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Afrittella\BackProject\Services\BackProject; |
11 | 11 | use Afrittella\BackProject\Services\SlugGenerator; |
12 | 12 | use Illuminate\Support\ServiceProvider; |
13 | -use Illuminate\Routing\Router; |
|
14 | 13 | use function Symfony\Component\HttpKernel\Tests\controller_func; |
15 | 14 | |
16 | 15 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | - //set headers to NOT cache a page |
|
3 | - header("Cache-Control: no-store, no-cache, must-revalidate"); //HTTP 1.1 |
|
4 | - header("Pragma: no-cache"); //HTTP 1.0 |
|
5 | - header("Expires: Thu, 19 Nov 1981 08:52:00 GMT"); // Date in the past |
|
2 | + //set headers to NOT cache a page |
|
3 | + header("Cache-Control: no-store, no-cache, must-revalidate"); //HTTP 1.1 |
|
4 | + header("Pragma: no-cache"); //HTTP 1.0 |
|
5 | + header("Expires: Thu, 19 Nov 1981 08:52:00 GMT"); // Date in the past |
|
6 | 6 | ?> |
7 | 7 | {{-- Admin layout - author <afrittella> --}}<!DOCTYPE html> |
8 | 8 | <html lang="en"> |