Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
467baa26
Commit
467baa26
authored
Mar 09, 2011
by
Bjoern Jacke
Committed by
Frédéric Buclin
Mar 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 639367: Set the HTTP status to 503 when Bugzilla is down for maintenance
r/a=mkanat
parent
79f0867e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Bugzilla.pm
Bugzilla.pm
+1
-1
No files found.
Bugzilla.pm
View file @
467baa26
...
@@ -170,7 +170,7 @@ sub init_page {
...
@@ -170,7 +170,7 @@ sub init_page {
else
{
else
{
$extension
=
'txt'
;
$extension
=
'txt'
;
}
}
print
Bugzilla
->
cgi
->
header
()
if
i_am_cgi
();
print
Bugzilla
->
cgi
->
header
(
-
status
=>
503
)
if
i_am_cgi
();
my
$t_output
;
my
$t_output
;
$template
->
process
(
"global/message.$extension.tmpl"
,
$vars
,
\
$t_output
)
$template
->
process
(
"global/message.$extension.tmpl"
,
$vars
,
\
$t_output
)
||
ThrowTemplateError
(
$template
->
error
);
||
ThrowTemplateError
(
$template
->
error
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment