mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-05 20:41:31 -07:00
Warning about forward slash for paths
Just adding a warning based on your response to this issue https://github.com/SociallyDev/Spaces-API/issues/6 , I know you probably tried the filter you talked about because I didn't get the exception when using `UploadDirectory()`, but then I got the exception when using `MakePublic()`, so I thought it would be safer for everyone to warn them about that `SignatureDoesNotMatch` exception
This commit is contained in:
parent
12b4f6a627
commit
3b86191846
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ All available options:
|
|||
|
||||
### Uploading/Downloading Files
|
||||
```php
|
||||
// Don't start any path with a forward slash, or it will give "SignatureDoesNotMatch" exception
|
||||
$path_to_file = "image.png";
|
||||
|
||||
$space->UploadFile($path_to_file, "public");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue