mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
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:
4
post.php
4
post.php
@@ -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"]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user