回答編集履歴
1
コードの設定をPHPに
test
CHANGED
@@ -44,12 +44,12 @@
|
|
44
44
|
|
45
45
|
#### 利用方法
|
46
46
|
|
47
|
-
```
|
47
|
+
```php
|
48
48
|
|
49
49
|
// Facadeなどを利用して相対パスでファイルを保存
|
50
50
|
|
51
51
|
$relativePath = $this->originalFile["filename"] . ".pdf";
|
52
52
|
|
53
|
-
Storage::disk('upload')->put($relativePath, $fileContent);
|
53
|
+
\Storage::disk('upload')->put($relativePath, $fileContent);
|
54
54
|
|
55
55
|
```
|