]> git.mjollnir.org Git - moodle.git/commitdiff
Bummer ... I introduced a new bug in 1.0.8.1 with pathinfo. Fixed.
authormoodler <moodler>
Wed, 15 Jan 2003 05:32:14 +0000 (05:32 +0000)
committermoodler <moodler>
Wed, 15 Jan 2003 05:32:14 +0000 (05:32 +0000)
file.php

index 95b86aa9adda1b4237c8668f2a2a9e30946e52ec..cfed50f60c09b0f64faef91a5ef6c0785bc1c73a 100644 (file)
--- 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);