Skip to content
New issue

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

Error in the http Check #59

Open
dacarLumo opened this issue Apr 16, 2021 · 0 comments
Open

Error in the http Check #59

dacarLumo opened this issue Apr 16, 2021 · 0 comments

Comments

@dacarLumo
Copy link

$http_response_header = array(false);

It seems some code is missing before the strpos, it will always trigger the exception.

if (strpos($http_response_header[0], '200') === false) {

Futhermore, the FileNotExistException use statement is missing in the header.

throw new FileNotExistException("File '{$file}' does not exist");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant