Fix for bug 3958 and google overactivity

This commit is contained in:
moodler
2005-08-30 09:34:42 +00:00
parent f40cc4a843
commit b109aa6efa
+5
View File
@@ -3625,6 +3625,8 @@ function print_scale_menu_helpbutton($courseid, $scale) {
function error ($message, $link='') {
global $CFG, $SESSION;
header('HTTP/1.0 404 Not Found');
print_header(get_string('error'));
echo '<br />';
@@ -3642,6 +3644,9 @@ function error ($message, $link='') {
}
print_continue($link);
print_footer();
for ($i=0;$i<512;$i++) { // Padding to help IE work with 404
echo ' ';
}
die;
}