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

Hard-coded plugin path in module Reports

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7, 1.7.1, 1.7.2, 1.8
    • 1.9, 2.0
    • Administration
    • None
    • MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      Symptom:

      if you have deployed administration modules in an alternative path instead of /admin, admintree doesn't show "Report" item.

      Cause:

      admin path is fixed in file /moodle/admin/settings/top.php, line 33

      Fix:

      replace
      foreach (get_list_of_plugins('admin/report') as $plugin) {
      with
      foreach (get_list_of_plugins($CFG->admin . '/report') as $plugin) {

      Attachments

        Activity

          People

            poltawski Dan Poltawski
            aulaweb AulaWeb Università di Genova
            Andrew Davis Andrew Davis
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08