From: moodler Date: Wed, 18 Aug 2004 05:59:14 +0000 (+0000) Subject: Added a 404 header but it seems not to work ... not sure why not. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=de482722f68626eacc1f2c8e588e6ffaf264f716;p=moodle.git Added a 404 header but it seems not to work ... not sure why not. --- diff --git a/file.php b/file.php index 466b9f0ef4..b25e6cf301 100644 --- a/file.php +++ b/file.php @@ -91,6 +91,7 @@ } } } else { + header("HTTP/1.0 404 not found"); error(get_string("filenotfound", "error"), "$CFG->wwwroot/course/view.php?id=$courseid"); }