diff --git a/theme/index.php b/theme/index.php index 0c5f4ea4404..2a40a92b9a3 100644 --- a/theme/index.php +++ b/theme/index.php @@ -68,7 +68,7 @@ if ($reset and confirm_sesskey()) { echo $output->box_start(); echo format_text(get_string('choosereadme', 'theme_'.$theme->name), FORMAT_MOODLE); echo $output->box_end(); - echo $output->continue_button($CFG->wwwroot . '/' . $CFG->admin . '/index.php'); + echo $output->continue_button($CFG->wwwroot . '/theme/index.php'); echo $output->footer(); exit; }