Commit 317fc6d9 authored by Bjoern Jacke's avatar Bjoern Jacke Committed by Frédéric Buclin

Fix on checkin for bug 639367: Add a comment to explain why we set the HTTP status to 503

parent 467baa26
......@@ -170,6 +170,8 @@ sub init_page {
else {
$extension = 'txt';
}
# Set the HTTP status to 503 when Bugzilla is down to avoid pages
# from being indexed.
print Bugzilla->cgi->header(-status=>503) if i_am_cgi();
my $t_output;
$template->process("global/message.$extension.tmpl", $vars, \$t_output)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment