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

              jtomkinson Jordan Tomkinson
              jtomkinson Jordan Tomkinson
              Brendan Heywood Brendan Heywood
              Jake Dallimore Jake Dallimore
              CiBoT CiBoT
              Ruslan Kabalin
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Jan/21

                Time Tracking

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