From 9277dbd42d2fc7bdf8c906e605f04a3356b8249d Mon Sep 17 00:00:00 2001 From: moodler <moodler> Date: Wed, 15 Jan 2003 05:32:14 +0000 Subject: [PATCH] Bummer ... I introduced a new bug in 1.0.8.1 with pathinfo. Fixed. --- file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.php b/file.php index 95b86aa9ad..cfed50f60c 100644 --- a/file.php +++ b/file.php @@ -32,7 +32,7 @@ // it's OK to get here if no course was specified - $pathname = "$CFG->dataroot$PATH_INFO"; + $pathname = "$CFG->dataroot$pathinfo"; $filename = $args[$numargs-1]; $mimetype = mimeinfo("type", $filename); -- 2.39.5