mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Present all output+errors at the end
This commit is contained in:
@@ -91,6 +91,7 @@ if ($tmp[0] <= $db_rev) {
|
||||
return;
|
||||
}
|
||||
|
||||
$limit = @$limit?: $_REQUEST['offset'];
|
||||
foreach ($filelist as $file) {
|
||||
list($filename,$extension) = explode('.', $file, 2);
|
||||
if ($filename > $db_rev) {
|
||||
@@ -99,7 +100,7 @@ foreach ($filelist as $file) {
|
||||
$limit++;
|
||||
if ( abs($limit-$_REQUEST['offset']) > 6) {
|
||||
$_SESSION['offset'] = $limit;
|
||||
echo '<b>Updating, please wait..</b><sub>'.date('r').'</sub><script>window.location.href = "install.php?offset='.$limit.'";</script>';
|
||||
$GLOBALS['refresh'] = '<b>Updating, please wait..</b><sub>'.date('r').'</sub><script>window.location.href = "install.php?offset='.$limit.'";</script>';
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user