We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RLAPI-v3-OOP/src/Uploader.php
Line 11 in b873773
You are not supposed to access the request body directly from the class, instead, pass the value from the API endpoint (index.php).
Example (index.php):
if(isset($_GET['bucket'] && !is_null[$_GET['bucket'])) { $uploader = new RLME\Uploader($_GET['bucket']); }
And if the bucket is not set (isset() == false), set a default value on the constructor.
isset() == false
Example (Uploader.php)
function __construct($bucket = 'owoapi') {}
If you want, I can create a PR solving this issue
The text was updated successfully, but these errors were encountered:
We're currently not working on the uploader, and that's just bootstrap code.
If you want to make a PR, you could, but if not, it'll be fixed when we start work on the uploader
Sorry, something went wrong.
Just keep that in mind and fix it when you can.
No branches or pull requests
RLAPI-v3-OOP/src/Uploader.php
Line 11 in b873773
You are not supposed to access the request body directly from the class, instead, pass the value from the API endpoint (index.php).
Example (index.php):
And if the bucket is not set (
isset() == false
), set a default value on the constructor.Example (Uploader.php)
If you want, I can create a PR solving this issue
The text was updated successfully, but these errors were encountered: