Skip to content

please don't call curl_init directly. #3

@danmarsden

Description

@danmarsden

Please don't initate curl_init() directly but use Moodle's own "curl" class which is a wrapper on PHP's curl functions.

It's not documented well, but do a search on core moodle code for "curl" and you'll see examples of how it's used.

Many organisations put their moodle site behind a web proxy and the internal curl wrapper takes care of this and a number of security related settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions