diff --git a/file.php b/file.php index 466b9f0ef48..b25e6cf301e 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"); }