Skip to content

Commit

Permalink
Added a 404 header but it seems not to work ... not sure why not.
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Aug 18, 2004
1 parent 80035a8 commit de48272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions file.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
}
}
} else {
header("HTTP/1.0 404 not found");
error(get_string("filenotfound", "error"), "$CFG->wwwroot/course/view.php?id=$courseid");
}

Expand Down

0 comments on commit de48272

Please sign in to comment.