From d5945ef02c63e364b914b724979961f6b589187b Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 14 Jun 2003 12:45:09 +0000 Subject: [PATCH] Fixed path --- course/view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5