]> git.mjollnir.org Git - moodle.git/commitdiff
This was throwing duplicate declaration errors in my PHP5 box
authorstronk7 <stronk7>
Fri, 9 Feb 2007 20:51:56 +0000 (20:51 +0000)
committerstronk7 <stronk7>
Fri, 9 Feb 2007 20:51:56 +0000 (20:51 +0000)
since some hours ago. Not sure why it worked before, but...

course/modedit.php

index 914b0b2f176340ba6f49189bbec6518548a83476..9ab4375ddd4cd02a9de60573d802a404d545a871 100644 (file)
@@ -2,8 +2,8 @@
 
 //  adds or updates modules in a course using new formslib
 
-    require("../config.php");
-    require("lib.php");
+    require_once("../config.php");
+    require_once("lib.php");
 
     require_login();
 
         $mform->display();
         print_footer($course);
     }
-?>
\ No newline at end of file
+?>