From 7fb83314328097710d462b28f62710319bc61ee3 Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 7 Sep 2002 14:56:19 +0000 Subject: [PATCH] Add a link if a "manage database" directory exists --- admin/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/index.php b/admin/index.php index 2f7b3320d5..8c5b0d9c6f 100644 --- a/admin/index.php +++ b/admin/index.php @@ -202,6 +202,9 @@ "

id\">".get_string("sitelogs")."

". "

".get_string("choosetheme")."

". "

".get_string("checklanguage")."

"; + if (file_exists("$CFG->dirroot/admin/$CFG->dbtype")) { + $table->data[0][0] .= "

dbtype/\">".get_string("managedatabase")."

"; + } $table->data[0][1] = "

".get_string("addnewcourse")."

". "

".get_string("assignteachers")."

". "

".get_string("deletecourse")."

"; -- 2.39.5