From 75bd8d9bdff5f8648c9cb2e7fea50f9a46abd05f Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Fri, 3 Dec 2010 01:30:21 -0500 Subject: [PATCH] Fixed inclusion path bug --- main/exercice/exercise.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/exercice/exercise.class.php b/main/exercice/exercise.class.php index 0cb8873b44..d1c198c457 100755 --- a/main/exercice/exercise.class.php +++ b/main/exercice/exercise.class.php @@ -16,7 +16,7 @@ define('EXERCISE_FEEDBACK_TYPE_END',0); define('EXERCISE_FEEDBACK_TYPE_DIRECT',1); define('EXERCISE_FEEDBACK_TYPE_EXAM',2); -require_once '../inc/lib/exercise_show_functions.lib.php'; +require_once api_get_path(LIBRARY_PATH).'exercise_show_functions.lib.php'; if(!class_exists('Exercise')): @@ -2421,4 +2421,4 @@ class Exercise { } } endif; -?> \ No newline at end of file +?>