]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed path
authormoodler <moodler>
Sat, 14 Jun 2003 12:45:09 +0000 (12:45 +0000)
committermoodler <moodler>
Sat, 14 Jun 2003 12:45:09 +0000 (12:45 +0000)
course/view.php

index 7cd1548afca3bfd4980b57433cdb91e1d74d85d1..a393f8dd1ee5fb00ddb7dd3de9a5d8782b6b73f0 100644 (file)
         }
     }
 
-    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();