From: moodler Date: Wed, 15 Jan 2003 05:32:14 +0000 (+0000) Subject: Bummer ... I introduced a new bug in 1.0.8.1 with pathinfo. Fixed. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9277dbd42d2fc7bdf8c906e605f04a3356b8249d;p=moodle.git Bummer ... I introduced a new bug in 1.0.8.1 with pathinfo. Fixed. --- 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);