]> git.mjollnir.org Git - moodle.git/commitdiff
FIxed link after file not found error
authormoodler <moodler>
Wed, 4 Aug 2004 09:45:45 +0000 (09:45 +0000)
committermoodler <moodler>
Wed, 4 Aug 2004 09:45:45 +0000 (09:45 +0000)
file.php

index 4e5593d7bc68d8dd8f07eb995b72a87e20dd900b..70f978a49b51ac5de53698596f02ca145ad68c6e 100644 (file)
--- a/file.php
+++ b/file.php
@@ -89,7 +89,8 @@
             }
         }
     } 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 ($pathname)", 
+              "$CFG->wwwroot/course/view.php?id=$courseid");
     }
 
     exit;