]> git.mjollnir.org Git - moodle.git/commitdiff
Changed some instances of include() to include_once()
authormartin <martin>
Thu, 26 Sep 2002 14:41:59 +0000 (14:41 +0000)
committermartin <martin>
Thu, 26 Sep 2002 14:41:59 +0000 (14:41 +0000)
course/social.php
course/topics.php
course/weeks.php

index f10c22fc3602d65b794e7a95d62c316d163bdabe..47590113aecce8a22ea7d42554558af40d2ba3d9 100644 (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">
index a2b278565833f5ba8c5f0511f4ec10bdb65dd0ba..df1a8cc98664ed38a326b35939164f294d364351 100644 (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.
index 49321c71ba0c33a673c3db88392f651c209426ba..80f2e06e532746c5deec41c6af2901d856607cfd 100644 (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.