mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
More info about admin location and a fix
This commit is contained in:
parent
dae73c05e9
commit
be09831ac3
2 changed files with 29 additions and 4 deletions
|
@ -625,7 +625,7 @@ function print_admin_links ($siteid, $width=180) {
|
|||
$modicon[]=$icon;
|
||||
$moddata[]="<A HREF=\"$CFG->wwwroot/$CFG->admin/lang.php\">".get_string("checklanguage")."</A>";
|
||||
$modicon[]=$icon;
|
||||
if (file_exists("$CFG->diradmin/$CFG->dbtype")) {
|
||||
if (file_exists("$CFG->dirroot/$CFG->admin/$CFG->dbtype")) {
|
||||
$moddata[]="<A HREF=\"$CFG->wwwroot/$CFG->admin/$CFG->dbtype/frame.php\">".get_string("managedatabase")."</A>";
|
||||
$modicon[]=$icon;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue