Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2626 Re-code Moodle 2 integration
  3. LDEV-2794

See the feasibility of changing file_get_contents to curl (<moodle>/lib/filelib.php)

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Moodle Integration
    • Labels:
      None

      Activity

      Hide
      ernieg Ernie Ghiglione added a comment -
      Jay Hutchinson from Netspot suggests:

      to use "moodle curl (<moodle>/lib/filelib.php)" instead of file_get_contents as "this automatically uses the proxy if one is configured."

      Show
      ernieg Ernie Ghiglione added a comment - Jay Hutchinson from Netspot suggests: to use "moodle curl (<moodle>/lib/filelib.php)" instead of file_get_contents as "this automatically uses the proxy if one is configured."
      Hide
      ernieg Ernie Ghiglione added a comment -
      Using download_file_content method from <moodle>/lib/filelib.php instead via a lamslesson_http_call util method in lamslesson/lib.php
      Show
      ernieg Ernie Ghiglione added a comment - Using download_file_content method from <moodle>/lib/filelib.php instead via a lamslesson_http_call util method in lamslesson/lib.php
      Hide
      ernieg Ernie Ghiglione added a comment -
      done
      Show
      ernieg Ernie Ghiglione added a comment - done
      Hide
      ernieg Ernie Ghiglione added a comment -
      Done here.
      Show
      ernieg Ernie Ghiglione added a comment - Done here.

        People

        • Assignee:
          ernieg Ernie Ghiglione
          Reporter:
          ernieg Ernie Ghiglione
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development