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

MNet wont work if $CFG->admin is changed.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.4, 3.1
    • Fix Version/s: 3.0.7, 3.1.3
    • Component/s: MNet
    • Labels:
    • Testing Instructions:
      Hide

      Rename your admin directory to something else, like "myadmin"
      Set: $CFG->admin = 'myadmin'; in your config.php file.
      Visit the urls under Site administration > Networking.
      Test adding a mnet peer to your site

      Show
      Rename your admin directory to something else, like "myadmin" Set: $CFG->admin = 'myadmin'; in your config.php file. Visit the urls under Site administration > Networking. Test adding a mnet peer to your site
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      All calls in mnet like this:

      require_once($CFG->dirroot . '/admin/mnet/tabs.php');
      

      Should be like this:

      require_once($CFG->dirroot . '/' . $CFG->admin . '/mnet/tabs.php');
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Nov/16