Skip to content

Commit

Permalink
Warning about forward slash for paths
Browse files Browse the repository at this point in the history
Just adding a warning based on your response to this issue #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
  • Loading branch information
Abdelhady authored Apr 9, 2019
1 parent 12b4f6a commit 3b86191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3b86191

Please sign in to comment.