mirror of
https://github.com/foss42/apidash.git
synced 2025-12-09 23:02:21 +08:00
fix fopen
This commit is contained in:
@@ -573,7 +573,7 @@ $body = new MultipartStream([
|
||||
],
|
||||
[
|
||||
'name' => 'imfile',
|
||||
'contents' => '/Documents/up/1.png'
|
||||
'contents' => fopen('/Documents/up/1.png', 'r')
|
||||
]
|
||||
]);
|
||||
|
||||
@@ -610,7 +610,7 @@ $body = new MultipartStream([
|
||||
],
|
||||
[
|
||||
'name' => 'imfile',
|
||||
'contents' => '/Documents/up/1.png'
|
||||
'contents' => fopen('/Documents/up/1.png', 'r')
|
||||
]
|
||||
]);
|
||||
|
||||
@@ -694,7 +694,7 @@ $body = new MultipartStream([
|
||||
],
|
||||
[
|
||||
'name' => 'imfile',
|
||||
'contents' => '/Documents/up/1.png'
|
||||
'contents' => fopen('/Documents/up/1.png', 'r')
|
||||
]
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user