From: moodler Date: Sat, 14 Jun 2003 12:45:09 +0000 (+0000) Subject: Fixed path X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d5945ef02c63e364b914b724979961f6b589187b;p=moodle.git Fixed path --- diff --git a/course/view.php b/course/view.php index 7cd1548afc..a393f8dd1e 100644 --- a/course/view.php +++ b/course/view.php @@ -86,11 +86,11 @@ } } - if (!file_exists("format/$course->format.php")) { // Default format is weeks + if (!file_exists("./format/$course->format.php")) { // Default format is weeks $course->format = "weeks"; } - require("format/$course->format.php"); // Include the actual course format + require("./format/$course->format.php"); // Include the actual course format print_footer();