From 643ec47d321fb69d323c79e71532198418fbc650 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Fri, 24 Mar 2006 19:31:46 +0000 Subject: [PATCH] Renaming question/questiontypes/ to question/types/ as requested by Martin --- lib/questionlib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/questionlib.php b/lib/questionlib.php index e59f87cd32..7e7b068202 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -98,7 +98,7 @@ $QTYPES = array(); // This array will be populated when the questiontype.php fil */ $QTYPE_MENU = array(); // This array will be populated when the questiontype.php files are loaded -require_once("$CFG->dirroot/question/questiontypes/questiontype.php"); +require_once("$CFG->dirroot/question/type/questiontype.php"); /* * Load the questiontype.php file for each question type @@ -108,7 +108,7 @@ require_once("$CFG->dirroot/question/questiontypes/questiontype.php"); $qtypenames= get_list_of_plugins('question/questiontypes'); foreach($qtypenames as $qtypename) { // Instanciates all plug-in question types - $qtypefilepath= "$CFG->dirroot/question/questiontypes/$qtypename/questiontype.php"; + $qtypefilepath= "$CFG->dirroot/question/type/$qtypename/questiontype.php"; // echo "Loading $qtypename
"; // Uncomment for debugging if (is_readable($qtypefilepath)) { @@ -1153,7 +1153,7 @@ function print_question_icon($question, $editlink=true, $return = false) { global $QTYPES, $CFG; - $html = ''.
             get_string($QTYPES[$question->qtype]->name(), 'quiz').''; -- 2.39.5