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

Allow to customize CLI maintenance message

XMLWordPrintable

    • MOODLE_32_STABLE
    • wip-MDL-57882
    • Hide
      • Put instance in CLI maintenance mode using admin/cli/maintenance.php --enable
      • Backup dataroot/climaintenance.html
      • Apply patch, restart
      • Acknowledge that HTML content is functionally equivalent.
      Show
      Put instance in CLI maintenance mode using admin/cli/maintenance.php --enable Backup dataroot/climaintenance.html Apply patch, restart Acknowledge that HTML content is functionally equivalent.

      The CLI maintenance page that is generated when using the admin/cli/maintenance.php script is quite old-fashioned, and cannot be customized without patching lib/setuplib.php's early_error_content(…) and/or plain_page(…).

      I'm hereby proposing a fix for that through addressing only the "CLI maintenance" problem, by putting in place the minimum needed for a template rendering.

            odyx Didier Raboud
            odyx Didier Raboud
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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