]> git.mjollnir.org Git - moodle.git/commitdiff
Merged fix from stable
authormoodler <moodler>
Fri, 1 Oct 2004 02:16:05 +0000 (02:16 +0000)
committermoodler <moodler>
Fri, 1 Oct 2004 02:16:05 +0000 (02:16 +0000)
mod/quiz/quizfile.php

index af1a11be6e8e3c666f9414f1e1b3e4420c81cdeb..1c8f5f1ec795d3b59d31d6bf017c171acfe18071 100644 (file)
         header("Content-type: $mimetype");
         readfile("$pathname");
     } else {
-        error("Sorry, but the file you are looking for was not found ($pathname)", "course/view.php?id=$courseid");
+        error("Sorry, but the file you are looking for was not found (".clean_text($pathname).")", 
+              "course/view.php?id=$courseid");
     }
 
     exit;