Moved uploaded assignment files into a subdirectory called moddata,
where data from other modules can also live later on. Also added a README for that directory to warn teachers not to mess with it, version code to perform the upgrade, tweaks to assignment/lib.php and a tweak to reading module so that assignment files aren't listed in the list of possible readings (could get messy).
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
$CFG->stylesheet = "$CFG->wwwroot/theme/$CFG->theme/styles.css";
|
||||
$CFG->header = "$CFG->dirroot/theme/$CFG->theme/header.html";
|
||||
$CFG->footer = "$CFG->dirroot/theme/$CFG->theme/footer.html";
|
||||
$CFG->moddata = "moddata";
|
||||
|
||||
// Load up theme variables (colours etc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user