Skip to content

Fixes incompatibility with new version of package pear/http_request2 2.4.0 #9

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

Closed
wants to merge 1 commit into from

Conversation

aguvillalba
Copy link
Contributor

@aguvillalba aguvillalba commented Jul 28, 2020

Tries to solve incompatibility with new version of package pear/http_request2 2.4.0. Check issue here: pear/HTTP_Request2#18

@jorrit
Copy link
Contributor

jorrit commented Jul 30, 2020

Shouldn't the code be like the one suggested?

if (!class_exists('HTTP_Request2', true)) {
    require_once 'HTTP/Request2.php';
}

edit: I see that HTTP_Request2 uses a comment like // pear-package-only in Request2.php. Maybe that's an idea.

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

Successfully merging this pull request may close these issues.

2 participants