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

Prioritise Curl (see https://github.com/joomla/joomla-cms/pull/4105) #10

Merged
merged 2 commits into from
Sep 24, 2014

Conversation

wilsonge
Copy link
Contributor

This is something that happens in most HTTP libraries - if curl exists it is used. Else then we use a alternative fallback

@@ -109,6 +109,16 @@ public static function getHttpTransports()
// Keep alphabetical order across all environments
sort($names);


// If curl is available set it to the first position
$key = array_search('curl', $names);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs to be Curl here (this array is built by file names).

@wilsonge
Copy link
Contributor Author

@mbabker All sorted

mbabker added a commit that referenced this pull request Sep 24, 2014
@mbabker mbabker merged commit 902f9d0 into joomla-framework:master Sep 24, 2014
@wilsonge wilsonge deleted the patch-1 branch September 24, 2014 14:44
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.

None yet

2 participants