From 2f5969b827ff17ee05e05f46025367017fdfcf44 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Mon, 23 Jul 2018 11:58:31 +0200 Subject: Rev: 4340 --- mayor-orig/www/update.php | 56 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 39 insertions(+), 17 deletions(-) (limited to 'mayor-orig/www/update.php') diff --git a/mayor-orig/www/update.php b/mayor-orig/www/update.php index 42d06efe..bc2a27df 100644 --- a/mayor-orig/www/update.php +++ b/mayor-orig/www/update.php @@ -1,23 +1,45 @@ '."\n"; - echo ''."\n"; - echo ''."\n"; - echo 'MaYoR'."\n"; - echo '
'."\n"; - echo '

MaYoR software update

'."\n"; - echo '

Hopp! Az automatikus frissítés épp fut, vagy a szolgáltatást a rendszerüzemeltető letiltotta.

'."\n"; - echo '

Oops! Automatic update process is running or the system administrator has locked down this service.

'."\n"; - echo '

'.date('Y-m-d H:i:s').'

'; - echo '
'."\n"; + header('HTTP/1.1 503 Service Temporarily Unavailable', true, 503); + header('Retry-After: '.gmdate('D, d M Y H:i:s', strtotime('+60 second')).' GMT'); + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo 'MaYoR elektronikus napló karbantartás'; + echo ''."\n"; + echo ''."\n"; + echo ''; + echo ''."\n"; + + $id = urlencode(getHostname().'+'.$_SERVER['SERVER_NAME'].'+'.$_SERVER['SERVER_ADMIN']); + echo '
MaYoR
'; + echo '

MaYoR'; + echo ' software update

'."\n"; + echo '
'."\n"; + echo '

Az automatikus frissítés épp fut, vagy a szolgáltatást a rendszerüzemeltető letiltotta.

'."\n"; + echo '

The system is down for maintenance.

'."\n"; + echo '

'.date('Y-m-d H:i:s').'

'; + echo '
'."\n"; + echo ''; echo ''; } else { header('index.php'); -- cgit v1.2.3