mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merged bugfix 3958 into head from stable
This commit is contained in:
parent
f21bf0639c
commit
ca9388440a
@ -3690,6 +3690,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 />';
|
||||
|
||||
@ -3707,6 +3709,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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user