Fixed previous commit b4f1d060ee whereby the inclusion of an exercises functions library was not loaded in a context-safe way (was preventing the creation of new exercises)

skala
Yannick Warnier 14 years ago
parent a0a35b9f64
commit 774f53f6fc
  1. 2
      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 api_get_path(LIBRARY_PATH).'exercise_show_functions.lib.php';
require_once dirname(__FILE__).'/../inc/lib/exercise_show_functions.lib.php';
if(!class_exists('Exercise')):

Loading…
Cancel
Save