Ensure course files area exists and create if not.

This commit is contained in:
thepurpleblob 2005-04-19 12:30:30 +00:00
parent f85601d1b3
commit b683d82844

View File

@ -21,6 +21,10 @@
error("Only the teacher can import quiz questions!");
}
// ensure the files area exists for this course
make_upload_directory( "$course->id" );
$strimportquestions = get_string("importquestions", "quiz");
$strquestions = get_string("questions", "quiz");