Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-70326

Antivirus requires non-existing file

    XMLWordPrintable

    Details

      Description

      MDL-66222 added this line to lib/classes/antivirus/scanner.php

      require_once(__DIR__ . '../../../../iplookup/lib.php');
      

      this is an invalid path (missing / and too many ..), and it should really look like this:

      require_once($CFG->dirroot . '/iplookup/lib.php');
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jtomkinson Jordan Tomkinson
              Reporter:
              jtomkinson Jordan Tomkinson
              Peer reviewer:
              Brendan Heywood
              Integrator:
              Jake Dallimore
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Ruslan Kabalin
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Jan/21

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 11 minutes
                  11m