Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

When redirecting to admin page go direct to index.php just in case

DirectoryIndex hasn't been fixed yet.
  • Loading branch information...
commit 88491cacbadbc85f5e6d0d411aab491901583b1f 1 parent bbe3efd
martin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.php
View
4 index.php
@@ -7,12 +7,12 @@
include("mod/forum/lib.php");
if (! $site = get_site()) {
- redirect("$CFG->wwwroot/admin/");
+ redirect("$CFG->wwwroot/admin/index.php");
}
if (isadmin()) {
if (moodle_needs_upgrading()) {
- redirect("$CFG->wwwroot/admin/");
+ redirect("$CFG->wwwroot/admin/index.php");
}
$headerbutton = update_course_icon($site->id);
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.