Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More direct link to index.php just in case they don't have index.php

set as a default page
  • Loading branch information...
commit 6f5db3b457343a326c9298fe0c74d319a86b5a67 1 parent 19a55d6
martin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/site.php
View
4 admin/site.php
@@ -23,7 +23,7 @@
if ($form->id) {
if (update_record("course", $form)) {
- redirect("$CFG->wwwroot/admin/", "Changes saved");
+ redirect("$CFG->wwwroot/admin/index.php", "Changes saved");
} else {
error("Serious Error! Could not update the site record! (id = $form->id)");
}
@@ -31,7 +31,7 @@
if ($newid = insert_record("course", $form)) {
$cat->name = "General";
if (insert_record("course_categories", $cat)) {
- redirect("$CFG->wwwroot/admin/", "Changes saved", "1");
+ redirect("$CFG->wwwroot/admin/index.php", "Changes saved", "1");
} else {
error("Serious Error! Could not set up the default categories!");
}
Please sign in to comment.
Something went wrong with that request. Please try again.