Added a 404 header but it seems not to work ... not sure why not.

This commit is contained in:
moodler 2004-08-18 05:59:14 +00:00
parent 80035a89e1
commit de482722f6

View File

@ -91,6 +91,7 @@
}
}
} else {
header("HTTP/1.0 404 not found");
error(get_string("filenotfound", "error"), "$CFG->wwwroot/course/view.php?id=$courseid");
}