mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Log: Improved batch upgrade script.
This commit is contained in:
parent
a611fedd96
commit
23ea03f73d
@ -59,12 +59,10 @@ if(e_AJAX_REQUEST && varset($_GET['action']) == 'rebuild')
|
||||
|
||||
|
||||
$totalOutput = round(( $count/ $totalFiles) * 100, 1);
|
||||
echo $totalOutput;
|
||||
|
||||
|
||||
if($totalOutput > 99.7)
|
||||
if($totalOutput > 99.9)
|
||||
{
|
||||
// echo 100;
|
||||
echo 100;
|
||||
if($lgc->collatePageTotalDB())
|
||||
{
|
||||
$lg->addSuccess("Processed All-Time PageTotal", false);
|
||||
@ -77,6 +75,10 @@ if(e_AJAX_REQUEST && varset($_GET['action']) == 'rebuild')
|
||||
$lg->addSuccess("Processing Complete.", false);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
echo $totalOutput;
|
||||
}
|
||||
|
||||
$lg->toFile('SiteStatsUpgrade','Statistics Update Log', true);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user