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

Boost admin renderer hard codes admin path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2
    • 3.2
    • Themes
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • wip-MDL-56788-master
    • Hide
      1. Start with a Moodle 3.1 installation.
      2. Rename the 'admin' directory to something else such as 'myadmin'.
      3. In config.php change the admin setting $CFG->admin = 'myadmin';.
      4. Upgrade to master. There should be no errors during the upgrade.
      Show
      Start with a Moodle 3.1 installation. Rename the 'admin' directory to something else such as 'myadmin'. In config.php change the admin setting $CFG->admin = 'myadmin'; . Upgrade to master. There should be no errors during the upgrade.

      The require in theme/boost/classes/output/core/admin_renderer.php hard codes admin in the path.

      This just needs to be changed to use the config setting such as:

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

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            cameron1729 cameron1729
            Dan Poltawski Dan Poltawski
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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