From c327e15031cc2ceeb106fde2a02c3d0181290fc0 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 9 Feb 2007 20:51:56 +0000 Subject: [PATCH] This was throwing duplicate declaration errors in my PHP5 box since some hours ago. Not sure why it worked before, but... --- course/modedit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/course/modedit.php b/course/modedit.php index 914b0b2f17..9ab4375ddd 100644 --- a/course/modedit.php +++ b/course/modedit.php @@ -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(); @@ -280,4 +280,4 @@ $mform->display(); print_footer($course); } -?> \ No newline at end of file +?> -- 2.39.5