mirror of
https://github.com/friendica/friendica
synced 2024-12-23 15:20:17 +00:00
11 lines
315 B
PHP
11 lines
315 B
PHP
<?php
|
|
|
|
function maintenance_content(App $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')
|
|
));
|
|
}
|