Internal: Add automatic refresh of the maintenance page every 30s to redirect user to iTop when done

This commit is contained in:
Molkobain
2019-12-17 11:47:56 +01:00
parent 53353ec9e1
commit 1589535a45
2 changed files with 24 additions and 4 deletions

View File

@@ -48,8 +48,8 @@ if (!isset($bBypassMaintenance))
if (file_exists(MAINTENANCE_MODE_FILE) && !$bBypassMaintenance)
{
$sMessage = 'This application is currently under maintenance.';
$sTitle = 'Maintenance';
$sMessage = 'This application is currently under maintenance.';
http_response_code(503);
// Display message depending on the request