Permalink
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...
1 parent 19a55d6 commit 6f5db3b457343a326c9298fe0c74d319a86b5a67 martin committed Aug 26, 2002
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/site.php
View
@@ -23,15 +23,15 @@
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)");
}
} else {
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!");
}

0 comments on commit 6f5db3b

Please sign in to comment.