Code to enable config.html files in the modules.

This commit is contained in:
moodler 2003-08-18 17:21:53 +00:00
parent a21db785d1
commit bda11d2acd
2 changed files with 55 additions and 2 deletions

View file

@ -160,8 +160,8 @@
$delete = "<a href=\"modules.php?delete=$module->name\">$strdelete</a>";
if (file_exists("$CFG->dirroot/mod/$module->name/config.php")) {
$settings = "<a href=\"$CFG->wwwroot/mod/$module->name/config.php\">$strsettings</a>";
if (file_exists("$CFG->dirroot/mod/$module->name/config.html")) {
$settings = "<a href=\"module.php?module=$module->name\">$strsettings</a>";
} else {
$settings = "";
}