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:
Abdelhady Muhammad 2019-04-09 14:18:32 +02:00 committed by GitHub
parent 12b4f6a627
commit 3b86191846
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");