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:
@@ -1750,7 +1750,7 @@ if(isset($_GET['update'])){
|
|||||||
|
|
||||||
$_SESSION['alert_message'] = "Update successful";
|
$_SESSION['alert_message'] = "Update successful";
|
||||||
|
|
||||||
sleep(2);
|
sleep(1);
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||||
|
|
||||||
@@ -1771,7 +1771,7 @@ if(isset($_GET['update_db'])){
|
|||||||
|
|
||||||
$_SESSION['alert_message'] = "Database structure update successful";
|
$_SESSION['alert_message'] = "Database structure update successful";
|
||||||
|
|
||||||
sleep(2);
|
sleep(1);
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user