Check existence of course format

This commit is contained in:
moodler
2003-06-13 16:13:51 +00:00
parent 2136ada61e
commit 7142bc1bbd
+4
View File
@@ -86,6 +86,10 @@
}
}
if (!file_exists("format/$course->format.php")) { // Default format is weeks
$course->format = "weeks";
}
require("format/$course->format.php"); // Include the actual course format
print_footer();