MDL-28191 Continue button after selecting a theme now redirects back to the theme...
authorSam Hemelryk <sam@moodle.com>
Fri, 22 Jul 2011 06:57:26 +0000 (14:57 +0800)
committerSam Hemelryk <sam@moodle.com>
Fri, 22 Jul 2011 06:57:26 +0000 (14:57 +0800)
theme/index.php

index 0c5f4ea..2a40a92 100644 (file)
@@ -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;
 }