Changed some instances of include() to include_once()

This commit is contained in:
martin
2002-09-26 14:41:59 +00:00
parent f1f901c3ea
commit 004db95014
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
// social.php - course format featuring social forum
// included from view.php
include("../mod/forum/lib.php");
include("../mod/reading/lib.php");
include_once("../mod/forum/lib.php");
include_once("../mod/reading/lib.php");
?>
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="5" CELLPADDING="5">
+1 -1
View File
@@ -6,7 +6,7 @@
// courses that aren't so rigidly defined by time.
// Included from "view.php"
include("../mod/forum/lib.php");
include_once("../mod/forum/lib.php");
if (! $sections = get_all_sections($course->id) ) {
$section->course = $course->id; // Create a default section.
+1 -1
View File
@@ -2,7 +2,7 @@
// Display the whole course as "weeks" made of of modules
// Included from "view.php"
include("../mod/forum/lib.php");
include_once("../mod/forum/lib.php");
if (! $sections = get_all_sections($course->id)) {
$section->course = $course->id; // Create a default section.