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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.7, 3.1.3
    • 3.0.4, 3.1
    • MNet
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • 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

      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');
      

            aolley Adam Olley
            damyon Damyon Wiese
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.