dbstructure now switches in the maintenance mode when updating
This commit is contained in:
parent
fa33f94b29
commit
6d16c39b7e
3 changed files with 18 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
|
||||
function maintenance_content(&$a) {
|
||||
header('HTTP/1.1 503 Service Temporarily Unavailable');
|
||||
header('Status: 503 Service Temporarily Unavailable');
|
||||
header('Retry-After: 600');
|
||||
|
||||
return replace_macros(get_markup_template('maintenance.tpl'), array(
|
||||
'$sysdown' => t('System down for maintenance')
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue