Set Sleep from 2 secs to 1 sec after updates Initially this was to fix database update not showing up after update. The Time limit of 2 secs seemed to fix the issue but we will try 1 sec

This commit is contained in:
johnnyq 2023-02-25 15:08:35 -05:00
parent 23dd49eabf
commit 11501d8e0b
1 changed files with 2 additions and 2 deletions

View File

@ -1750,7 +1750,7 @@ if(isset($_GET['update'])){
$_SESSION['alert_message'] = "Update successful";
sleep(2);
sleep(1);
header("Location: " . $_SERVER["HTTP_REFERER"]);
@ -1771,7 +1771,7 @@ if(isset($_GET['update_db'])){
$_SESSION['alert_message'] = "Database structure update successful";
sleep(2);
sleep(1);
header("Location: " . $_SERVER["HTTP_REFERER"]);
}