schoolyear / moodle-quizaccess_schoolyear

Plugin to integrate the Schoolyear safe exam workspace with the Moodle quiz activity.
0 stars 0 forks source link

please don't call curl_init directly and use Moodle's own curl class. #2

Open danmarsden opened 7 months ago

danmarsden commented 7 months ago

Please don't initate curl_init() directly but use Moodle's own "curl" class which is a wrapper on PHP's curl functions and takes care of security and proxy settings.

it's not documented well - do a search on moodle core code for "curl" to see how it's used.