]> git.mjollnir.org Git - moodle.git/commitdiff
Removed one hard-coded "admin"
authormoodler <moodler>
Sun, 19 Oct 2003 05:19:14 +0000 (05:19 +0000)
committermoodler <moodler>
Sun, 19 Oct 2003 05:19:14 +0000 (05:19 +0000)
admin/index.php

index 99892324b660838d1b469045fd1cf618dc552659..02427c1567f695211c96a8815f4fed9d3c33e87b 100644 (file)
                            "<font size=+1>&nbsp;</font>".get_string("adminhelplogs"));
     $table->data[] = array("<font size=+1><b><a href=\"../files/index.php?id=$site->id\">".get_string("sitefiles")."</a></b>",
                            "<font size=+1>&nbsp;</font>".get_string("adminhelpsitefiles"));
-    if (file_exists("$CFG->dirroot/admin/$CFG->dbtype")) {
+    if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) {
         $table->data[] = array("<font size=+1><b><a href=\"$CFG->dbtype/frame.php\">".get_string("managedatabase")."</a></b>",
                                "<font size=+1>&nbsp;</font>".get_string("adminhelpmanagedatabase"));
     }