mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Code to enable config.html files in the modules.
This commit is contained in:
parent
a21db785d1
commit
bda11d2acd
2 changed files with 55 additions and 2 deletions
|
@ -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 = "";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue